check https://issues.apache.org/jira/browse/MAPREDUCE-4493 and https://issues.apache.org/jira/browse/YARN-916
Thanks, Omkar Joshi *Hortonworks Inc.* <http://www.hortonworks.com> On Fri, Jul 19, 2013 at 8:12 AM, Ted Yu <yuzhih...@gmail.com> wrote: > See this thread also: > > http://search-hadoop.com/m/3pgakkVpm71/Distributed+Cache+omkar&subj=Re+Distributed+Cache > > > On Fri, Jul 19, 2013 at 6:20 AM, Botelho, Andrew > <andrew.bote...@emc.com>wrote: > >> 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:edwardy...@apache.org] >> Sent: Friday, July 19, 2013 8:03 AM >> To: user@hadoop.apache.org >> 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 >> >> >