Re: Yarn - Running multiple commands on container

2014-02-18 Thread Anand Mundada
, - Tsuyoshi On Mon, Feb 17, 2014 at 10:16 PM, Anand Mundada anandmund...@ymail.com wrote: Hi all, I am using containerLaunchContext.setCommands() to add different commands that I wanted to run on container. But only first command is getting execute. Is there is something else I need to do

Yarn - avoid Launching Client and Application manager every time

2014-02-18 Thread Anand Mundada
Hi All, I want to know is it possible to run client and m application manager only once, and keep them running. Then pass some arguments at runtime to application manager (directly or through client)? Thanks, Anand

Re: Yarn - specify hosts in ContainerRequest

2014-02-17 Thread Anand Mundada
this, and it should work. I am using this feature on 2.2.0 String[] hosts = new String[1]; hosts[0] = node_name; ContainerRequest request = new ContainerRequest(capability, hosts, null, p, false); Thanks, Kishore On Fri, Feb 14, 2014 at 11:43 PM, Anand Mundada anandmund

Yarn - Running multiple commands on container

2014-02-17 Thread Anand Mundada
Hi all, I am using  containerLaunchContext.setCommands() to add different commands that I wanted to run on container.  But only first command is getting execute. Is there is something else I need to do? Code:  ListString commands = new ArrayListString(); commands.add(cmd1); commands.add(cmd2);

Re: Start hadoop service

2014-02-16 Thread Anand Mundada
No. You don't need to. Master will start all required daemons on slave. Check all daemons using jps command. Sent from my iPhone On Feb 16, 2014, at 7:03 PM, EdwardKing zhan...@neusoft.com wrote: I have install hadoop-2.2.0 under two machine,one is master and other is slave,then I start

Yarn - specify hosts in ContainerRequest

2014-02-14 Thread Anand Mundada
Hi All, How can I launch container on a particular host? I tried specifying host name in new ContainerRequest() Thanks, Anand