hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pankaj Gupta <pan...@brightroll.com>
Subject Supplying a jar for a map-reduce job
Date Wed, 21 Nov 2012 04:49:29 GMT

I am running map-reduce jobs on Hadoop 0.23 cluster. Right now I supply the jar to use for
running the map-reduce job using the setJarByClass function on org.apache.hadoop.mapreduce.Job.
This makes my code depend on a class in the MR job at compile. What I want is to be able to
run an MR job without being dependent on it at compile time. It would be great if I could
use a jar that contains the Mapper and Reducer classes and just pass it to run the map reduce
job. That would make it easy to choose an MR job to run at runtime. Is that possible?

Thanks in Advance,
View raw message