AnsweredAssumed Answered

Distributed cache classpath

Question asked by davidm on Nov 15, 2012
Latest reply on Nov 18, 2012 by gera
I am trying to add several jars to the map/reduce tasks' classpath via the Hadoop distributed cache. I am setting the mapred.job.classpath.archives property in the job conf. Is there something else I need to be doing? Perhaps there is an example of doing this in the docs and I haven't seen it yet?

Several things are unclear to me:
 * should I list the jars in a comma delimited fashion in the mapred.job.classpath.archives property value?
 * do I need to use the mapred.job.classpath.files property also or instead of the archives property?
 * do I provide file URLs in the property value, or simple absolute paths?

Thanks.
-David

Outcomes