You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-user@hadoop.apache.org by Praveen Sripati <pr...@gmail.com> on 2011/10/12 06:58:01 UTC

Specifying the MR jar file

Hi,

What is the difference between specifying the jar file using JobConf API and
the 'hadoop jar' command?

JobConf conf = new JobConf(getConf(), getClass());

bin/hadoop jar /home/praveensripati/Hadoop/MaxTemperature/MaxTemperature.jar
MaxTemperature /user/praveensripati/input /user/praveensripati/output

Thanks,
Praveen