[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] Condor + Weka



Looking back at some java code I ran on Condor 3 years ago I noticed that my submit file looked different from yours and from the examples. I actually had "jar_files" and "executable" equal to the jar, e.g. jar_files = bb.jar and executable = bb.jar (also bb.jar was in transfer_input_files). You might try that. Also, when your job is running you can look in the execute directory for the startd and see if all your files are there (this is easy to do if you use Requirements to force a job to match with a specific machine).


matt

On Mar 10, 2006, at 10:17 AM, Gino Filiberti wrote:



You have ".class" in there again(?).

Sorry, maybe I posted the wrong output, cause there's
such a confusion on the submit machine....
This should be the rigth one:

java.lang.ClassNotFoundException:
weka.classifiers.bayes.BayesNet
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native
Method)
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown
Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClassInternal(Unknown
Source)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Unknown Source)
	at CondorJavaWrapper.main(CondorJavaWrapper.java:101)


And this is the submit file:

#Prima chiamata della vm per
alarm_10000_shuffled_01.arff
Universe	= java
Executable	=
/weka/WekaDef/weka/classifiers/bayes/BayesNet.class
Output		= Weka1-1bis.out
Error		= Weka1-1bis.error
Log		= Weka1-1bis.log
should_transfer_files = YES
when_to_transfer_output = ON_EXIT
transfer_input_files=
/weka/shuffle/alarm/alarm_5000_bis/alarm_5000_shuffled_01.arff,/ weka/WekaDef/wekaclasses.jar
jar_files = /weka/WekaDef/wekaclasses.jar
Arguments	= weka.classifiers.bayes.BayesNet -D -B -t
/weka/shuffle/alarm/alarm_5000_bis/alarm_5000_shuffled_01.arff
-Q weka.classifiers.bayes.net.search.local.K2mo -- -P
100 -Z 0 -M -N -O 0 -E
weka.classifiers.bayes.net.estimate.SimpleEstimator --
-A 1.0
Queue




	

	
		
___________________________________
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB
http://mail.yahoo.it
_______________________________________________
Condor-users mailing list
Condor-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/condor-users