Hey Vinod, Got it, thanks. Updated the WritingYarnApps FAQ.
Cheers, Chris On 9/21/11 10:18 AM, "Vinod Kumar Vavilapalli" <vino...@hortonworks.com> wrote: > Container needs to specify its own resources to be localized (Juts like the > AM Container). So you should just set the same tgz that is there on DFS as > one of the resources for the container. > > +Vinod > > > On Wed, Sep 21, 2011 at 10:41 PM, Chris Riccomini > <criccom...@linkedin.com>wrote: > >> Hey Guys, >> >> I'm currently setting a local resource for my ApplicationMaster's container >> ctx when my client sets up its request. >> >> What surprised me is that the containers that my ApplicationMaster starts >> up don't have those local resources as well. When I find . on the container >> working directory, I see: >> >> . >> ./.task.sh.crc >> ./.container_tokens.crc >> ./container_tokens >> ./task.sh >> >> My question is: how do I get my archive to my container? It seems that my >> ApplicationMaster could re-assign the LocalResource to the container ctx >> request, except that I don't seem to have access to the raw tgz when the >> ApplicationMaster is running (only the unzipped directory). >> >> Any ideas? >> >> Cheers, >> Chris