I think you need to set a property (mapred.jar) inside hadoop-site.xml, then you don't need to hardcode in your java code, and it will be fine. But I don't know if there is any way that we can set multiple jars, since a lot of times our own mapreduce class needs to reference other jars.
On Wed, Apr 1, 2009 at 10:57 AM, Farhan Husain <[email protected]> wrote: > Hello, > > Can anyone tell me if there is any way running a map-reduce job from a java > program without specifying the jar file by JobConf.setJar() method? > > Thanks, > > -- > Mohammad Farhan Husain > Research Assistant > Department of Computer Science > Erik Jonsson School of Engineering and Computer Science > University of Texas at Dallas >
