Hi,

 

i know i can start hadoop jobs like this:

 

hadoop jar myJob.jar org.foo.bar.MainClass --arg1 foo --arg2 bar

 

Now I would like to do this by JAVA-Code. My App is running within the
cluster and is started including the whole Hadoop-classpath. How can I start
the job by jar (found something with setJar but no explanation) and
especially how can I pass arguments like I would do in the console?

 

 

Kind regards 

Daniel

 

Reply via email to