What are you putting as the argument in job.setJarByClass( ?? )

On Mon, Nov 23, 2009 at 8:34 PM, Todd Lipcon <[email protected]> wrote:

> Hi Mike,
>
> I haven't seen that problem. There is one patch in the Cloudera
> distribution
> that does modify the behavior of that method, though. Would you mind trying
> this on the stock Apache 0.20.1 release? I see no reason to believe this is
> the issue, since hundreds of other people are using our distro without
> issues, but it's worth checking out.
>
> Is this happening with every jar? What platform are you running on?
>
> Thanks,
> -Todd
>
> On Mon, Nov 23, 2009 at 8:28 PM, Zhengguo 'Mike' SUN
> <[email protected]>wrote:
>
> > Hi,
> >
> > After porting my code from Hadoop 0.17 to 0.20, I am starting to have
> > problems setting my jar file. I used to be able to set jar file by using
> > JobConf.setJar(). But now I am using Job.setJarByClass(). It looks to me
> > that this method is not working. I kept getting ClassNotFoundException
> when
> > submitting my job. I also added Job.getJar() after Job.setJarByClass, but
> it
> > did return null somehow. By the way, I am using CloudEra's distribution
> of
> > hadoop-0.20.1+133.
> >
> > Anyone has the same problem?
> >
> >
> >
> >
>

Reply via email to