hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anand Mundada <anandmund...@ymail.com>
Subject Yarn - Running multiple commands on container
Date Tue, 18 Feb 2014 06:16:38 GMT
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<String> commands = new ArrayList<String>();
commands.add(cmd1);
commands.add(cmd2);

I can see only cmd1 is getting executed.


Thanks,
Anand
Mime
View raw message