|
@@ -229,7 +229,7 @@ public class LinuxContainerExecutor extends ContainerExecutor {
|
|
|
buildMainArgs(command, user, appId, locId, nmAddr, localDirs);
|
|
|
String[] commandArray = command.toArray(new String[command.size()]);
|
|
|
ShellCommandExecutor shExec = new ShellCommandExecutor(commandArray,
|
|
|
- null, null, 0L, true);
|
|
|
+ null, null, 0L, false);
|
|
|
if (LOG.isDebugEnabled()) {
|
|
|
LOG.debug("initApplication: " + Arrays.toString(commandArray));
|
|
|
}
|
|
@@ -291,7 +291,8 @@ public class LinuxContainerExecutor extends ContainerExecutor {
|
|
|
resourcesOptions));
|
|
|
String[] commandArray = command.toArray(new String[command.size()]);
|
|
|
shExec = new ShellCommandExecutor(commandArray, null, // NM's cwd
|
|
|
- container.getLaunchContext().getEnvironment()); // sanitized env
|
|
|
+ container.getLaunchContext().getEnvironment(), 0L,
|
|
|
+ false); // sanitized env
|
|
|
if (LOG.isDebugEnabled()) {
|
|
|
LOG.debug("launchContainer: " + Arrays.toString(commandArray));
|
|
|
}
|