vishalsant wrote:
JobConf.setJar(..) might be the way , but that class is deprecated and no
method in the Job has a corresponding addition.
1. Configuration.set("mapreduce.job.jar", JarName) is what you should
use to set this. You can find the jar by using
JobConf.findContainingJar(Class)
2. To submit jobs, you should have the Hadoop JAR(s) on your classpath,
commons-logging and any other dependencies. For that I have
commons-httpclient, commons-net, commons-codec, xmlenc, commons-cli,
3. JobClient.submitJob() shows you how to submit jobs; it wraps
Job.submit() with some extra (optional) setup