Re: Yarn - Running multiple commands on container

2014-02-18 Thread Anand Mundada
I tried executing 2 commands deprecated by semicolon ';'. Now I can only execute command two. Is there is another solution for this? Thanks, Anand Sent from my iPhone > On Feb 18, 2014, at 12:12 PM, Tsuyoshi OZAWA wrote: > > Hi Anand and YARN developers, > > I found that UnixShellScriptBuil

Re: Yarn - Running multiple commands on container

2014-02-18 Thread Tsuyoshi OZAWA
Hi Anand and YARN developers, I found that UnixShellScriptBuilder#command just concatenates each commands with space, not with ";". Therefore, you need to suffix ";" after commands you'd like to execute. UnixShellScriptBuilder { @Override public void command(List command) { line("exe

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:  List commands = new ArrayList(); commands.add(cmd1); commands.add(cmd2); I can see on