hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akhil1988 <akhilan...@gmail.com>
Subject Re: Archives not getting unarchived at tasktrackers
Date Thu, 02 Jul 2009 04:43:23 GMT

HI All,

Has anyone tried this method? Please, let me know I am struck at this.

Thanks,
Akhil


akhil1988 wrote:
> 
> 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-tp24233281p24301044.html
Sent from the Hadoop core-user mailing list archive at Nabble.com.


Mime
View raw message