Thanks for the link mate So I have to use LocalResource to achieve the distributed cache behaviour on YARN? On 12-Jul-2013 11:25 PM, "Omkar Joshi" <[email protected]> wrote:
> https://issues.apache.org/jira/browse/MAPREDUCE-5385 > > > > Thanks, > Omkar Joshi > *Hortonworks Inc.* <http://www.hortonworks.com> > > > On Fri, Jul 12, 2013 at 4:44 AM, Azuryy Yu <[email protected]> wrote: > > > DistributedCache is not deprecated in the hadoop-2.x, map/reduce job can > > also use it as before. but for YARN task(not MR), only LocalResource is > > recognized, no DistributedCache. > > > > please correct me if I am wrong. > > > > > > On Fri, Jul 12, 2013 at 1:54 PM, Kapoor <[email protected]> wrote: > > > > > It looks like DistributedCache is deprecated in latest code. > > > Do we have any alternative of DistributedCache in apies ? > > > I know I can use LocalResource in YARN. > > > > > > My use case is, I need some files (jar) from local machine to be > > available > > > to datanodes, so that running container can have access to it in their > > > classpath. > > > > > >
