hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@hortonworks.com>
Subject Re: Unable to Add Jars to distributed cache
Date Wed, 31 Oct 2012 18:11:45 GMT
On 31 October 2012 12:13, Saurabh Mishra <saurabhmishra.iitg@outlook.com>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

Mime
View raw message