hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rakesh kothari <rkothari_...@hotmail.com>
Subject Accessing files from distributed cache
Date Tue, 19 Oct 2010 20:03:04 GMT

Hi,

What's the way to access files copied to distributed cache from the map tasks ?

e.g.

if I run my M/R job as $hadoop jar my.jar -files hdfs://path/to/my/file.txt, How can I access
file.txt in my Map(or reduce) task ?


Thanks,
-Rakesh
 		 	   		  
Mime
View raw message