You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Zheng Shao <zs...@facebook.com> on 2009/08/24 23:10:14 UTC
tmpfiles and tmpjars do not get unarchived
We noticed that files uploaded using "tmpfiles" and "tmpjars" are not unarchived somehow.
We are using hadoop 0.17.2.1.
Is there any way to automatically unarchive "tmpfiles" and "tmpjars"?
Zheng
Re: tmpfiles and tmpjars do not get unarchived
Posted by Todd Lipcon <to...@cloudera.com>.
Hi Zheng,
The DistributedCache.addArchiveToClasspath call is the one that makes it get
unarchived into the temp directory. By contrast, addFileToClasspath doesn't.
I don't remember the old-style command line flag to trigger this call...
perhaps -archives or something?
Worth noting that -libjars was recently changed from addArchiveToClasspath
to addFileToClasspath
Thanks
-Todd
On Mon, Aug 24, 2009 at 2:10 PM, Zheng Shao <zs...@facebook.com> wrote:
> We noticed that files uploaded using "tmpfiles" and "tmpjars" are not
> unarchived somehow.
> We are using hadoop 0.17.2.1.
>
> Is there any way to automatically unarchive "tmpfiles" and "tmpjars"?
>
>
> Zheng
>
>