You can set jar file by using Job. setJarByClass(Class<?> cls)

Jeff Zhang


-----Original Message-----
From: Farhan Husain [mailto:[email protected]] 
Sent: 2009年12月17日 14:44
To: [email protected]
Subject: Alternative to JobConf

The *org.apache.hadoop.mapred.JobConf* class is deprecated in version
0.20.1. I tried to use the *org.apache.hadoop.mapreduce.Job* class instead
but found no way to set the jar file. Can anyone tell me how to run a job
with no deprecated API in version 0.20.1?

Thanks,
Farhan

Reply via email to