On 31 October 2012 12:13, Saurabh Mishra <[email protected]>wrote:

> Hi,
> I tried adding jars to distributed cache through following code :
>                 DistributedCache.addArchiveToClassPath(path, jobConf);
>                 DistributedCache.addCacheArchive(path.toUri(), jobConf);
>
> It worked fine for one cluster which is running clodera hadoop
> installation(cdh3u1).
> But when i tried the same job on a self setup apache hadoop cluster
> (0.20.0) it threw class not found exception. I tried matching the job.xml's
> for their tracker jobs, but there was no significatn difference between
> them. Still the problem persists.
>
>
>
 (0.20.0) is a pretty old Hadoop version -you'd be best of downloading
Hadoop 1.10 -it will have the Distribute Cache APIs

Reply via email to