> -----Original Message-----
> From: Taeho Kang [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, May 22, 2008 3:41 PM
> To: core-user@hadoop.apache.org
> Subject: Re: Questions on how to use DistributedCache
> 
> Thanks for your reply.
> 
> Just one more thing to ask..
> 
> From what I see from the source code,
> it looks like the files/jars registered in DistributedCache 
> gets uploaded to DFS and then downloaded to slave nodes.
> 
> Is there a way I can specify "the path in the slave nodes" 
> where files/jars get downloaded to?

No that is not possible. They get localized to specific directories (as per
mapred.local.dir). The files are optionally symlinked in the current working
directory of the task.

> 
> /Taeho
> 
> 
> On Thu, May 22, 2008 at 4:20 PM, Arun C Murthy 
> <[EMAIL PROTECTED]> wrote:
> 
> >
> > On May 21, 2008, at 10:45 PM, Taeho Kang wrote:
> >
> >  Dear all,
> >>
> >> I am trying to use DistributedCache class for distributing files 
> >> required for running my jobs.
> >>
> >> While API documentation provides good guidelines, Is there 
> any tips 
> >> or usage examples (e.g. sample codes)?
> >>
> >>
> > http://hadoop.apache.org/core/docs/current/
> > mapred_tutorial.html#DistributedCache
> > and
> > http://hadoop.apache.org/core/docs/current/
> > mapred_tutorial.html#Example%3A+WordCount+v2.0
> >
> > Arun
> >
> >
> >  If you could share your experience with me, I would really 
> appreciate it.
> >>
> >> Thank you in advance,
> >>
> >> /Taeho
> >>
> >
> >
> 

Reply via email to