Hi All,

I am using DistributedCache.addCacheArchives() to distribute a tar file to
the tasktrackers using the following statement.

DistributedCache.addCacheArchives(new URI("/home/akhil1988/sample.tar"),
conf);

According to the documentation it should get unarchived at the tasktrackers.
But the statement:

DistributedCache.getLocalCacheArchives(conf); 

returns the following Path

/hadoop/tmp/hadoop/mapred/local/taskTracker/archive/cn1.cloud.cs.illinois.edu/home/akhil1988/sample.tar

That means sample.tar did not get unarchived.
Nor I am able to access file sample.txt in the above folder. 

Can anyone tell where I am going wrong?

I tarred the file sample.txt using the following command: tar -cvf
sample.tar sample.txt 

Thanks,
Akhil
-- 
View this message in context: 
http://www.nabble.com/Archives-not-getting-unarchived-at-tasktrackers-tp24233281p24233281.html
Sent from the Hadoop core-user mailing list archive at Nabble.com.

Reply via email to