Are you trying to run a Map/Reduce job or are you writing a new YARN application? If it is a MR job, then it should work mostly the same as before (on 1.x). If you are writing a new YARN application then there is a separate Map in the ContainerLaunchContext that you need to fill in.
--Bobby On 2/15/13 2:26 AM, "Sebastiano Vigna" <[email protected]> wrote: >I am trying to upload (using the -archives option of ToolRunner) a .zip >archive so that it is unzipped locally. I have tried all possible >combinations of command line options, >getResource()/DistributedCache.getSmthng() with no luck. I have found a >post suggesting that in Yarn this is all different, and you should create >a Map containing the resources and pass it to a ContainerLaunchContext, >but had no luck finding any documentation. > >Pointers? Please, please :). > >Ciao, > > seba >
