YARN-1271. Text file busy errors launching containers again (Sandy Ryza)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1529058 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sanford Ryza 2013-10-04 01:30:19 +00:00
parent cc76f70fe3
commit d8ea364d07
2 changed files with 4 additions and 1 deletions

View File

@ -150,6 +150,9 @@ Release 2.1.2 - UNRELEASED
YARN-1149. NM throws InvalidStateTransitonException: Invalid event:
APPLICATION_LOG_HANDLING_FINISHED at RUNNING (Xuan Gong via hitesh)
YARN-1271. "Text file busy" errors launching containers again
(Sandy Ryza)
Release 2.1.1-beta - 2013-09-23
INCOMPATIBLE CHANGES

View File

@ -218,7 +218,7 @@ public abstract class ContainerExecutor implements Configurable {
retCommand.addAll(Arrays.asList("nice", "-n",
Integer.toString(containerSchedPriorityAdjustment)));
}
retCommand.addAll(Arrays.asList("bash", "-c", command));
retCommand.addAll(Arrays.asList("bash", command));
return retCommand.toArray(new String[retCommand.size()]);
}