Hi,

I was trying to run a mapreduce job with some jars but failed.  It seems
that jars specified in command line -libjars was not shipped to mapreduce
worker together.

After digging into the code, I found that deprecated API and current are
different from -libjars behavior (also -files and -archives).  In deprecated
API, JobClient.runJob() will copy -libjars to DistributedCache (more
precisely, GenericOptionParser parses the -libjars, saving as "tmpjars" in
configuration, then JobClient upload tmpjars).  However, in current API, I
didn't see anything related (by grepping tmpjar or something in
hadoop-0.20.1/src/).

Is there any helper function or something in current API?  Or I need to do
it myself like what JobClient do?

Help appreciated.

Victor

Reply via email to