I have been using Job.addCacheFile() to cache files in the distributed cache.  
It has been working for me on Hadoop 2.0.5:

public void addCacheFile(URI uri)
Add a file to be localized
Parameters:
uri - The uri of the cache to be localized

-----Original Message-----
From: Edward J. Yoon [mailto:[email protected]] 
Sent: Friday, July 19, 2013 8:03 AM
To: [email protected]
Subject: DistributedCache incompatibility issue between 1.0 and 2.0

Hi,

I wonder why setLocalFiles and addLocalFiles methods have been removed, and 
what should I use instead of them?

--
Best Regards, Edward J. Yoon
@eddieyoon

Reply via email to