hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Saurabh Mishra <saurabhmishra.i...@outlook.com>
Subject Unable to Add Jars to distributed cache
Date Wed, 31 Oct 2012 12:13:40 GMT
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.

Is there some cluster configuration, which needs to be modified to allow for successful addition
of jars to the Distributed Cache.

Sincerely
Saurabh Mishra
 		 	   		  
Mime
View raw message