Hi All,

I figured out. It is related to my directory structure. I have my jar under 
$HADOOP_HOME and my package and class files are under $HADOOP_HOME too. When I 
moved my package and class files somewhere else, it worked. It seemed that this 
structure made JobConf.findContainingJar break.




________________________________
From: Rekha Joshi <[email protected]>
To: "[email protected]" <[email protected]>; 
"[email protected]" <[email protected]>
Sent: Mon, November 23, 2009 11:51:12 PM
Subject: Re: Job.setJarByClass in Hadoop 0.20.1

If your paths/files are alright, think job.setJarByClass(yourClassName.class); 
should work.Thanks!


On 11/24/09 9:58 AM, "Zhengguo 'Mike' SUN" <[email protected]> wrote:

Job.setJarByClass()



      

Reply via email to