YARN-1608. LinuxContainerExecutor has a few DEBUG messages at INFO level (kasha)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1558875 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0c84c76954
commit
7eb1ca53b3
|
@ -325,6 +325,9 @@ Release 2.4.0 - UNRELEASED
|
|||
YARN-1351. Invalid string format in Fair Scheduler log warn message
|
||||
(Konstantin Weitz via Sandy Ryza)
|
||||
|
||||
YARN-1608. LinuxContainerExecutor has a few DEBUG messages at INFO level
|
||||
(kasha)
|
||||
|
||||
Release 2.3.0 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -218,8 +218,6 @@ public class LinuxContainerExecutor extends ContainerExecutor {
|
|||
}
|
||||
String[] commandArray = command.toArray(new String[command.size()]);
|
||||
ShellCommandExecutor shExec = new ShellCommandExecutor(commandArray);
|
||||
// TODO: DEBUG
|
||||
LOG.info("initApplication: " + Arrays.toString(commandArray));
|
||||
if (LOG.isDebugEnabled()) {
|
||||
LOG.debug("initApplication: " + Arrays.toString(commandArray));
|
||||
}
|
||||
|
@ -275,8 +273,9 @@ public class LinuxContainerExecutor extends ContainerExecutor {
|
|||
String[] commandArray = command.toArray(new String[command.size()]);
|
||||
shExec = new ShellCommandExecutor(commandArray, null, // NM's cwd
|
||||
container.getLaunchContext().getEnvironment()); // sanitized env
|
||||
// DEBUG
|
||||
LOG.info("launchContainer: " + Arrays.toString(commandArray));
|
||||
if (LOG.isDebugEnabled()) {
|
||||
LOG.debug("launchContainer: " + Arrays.toString(commandArray));
|
||||
}
|
||||
shExec.execute();
|
||||
if (LOG.isDebugEnabled()) {
|
||||
logOutput(shExec.getOutput());
|
||||
|
@ -375,7 +374,6 @@ public class LinuxContainerExecutor extends ContainerExecutor {
|
|||
}
|
||||
String[] commandArray = command.toArray(new String[command.size()]);
|
||||
ShellCommandExecutor shExec = new ShellCommandExecutor(commandArray);
|
||||
LOG.info(" -- DEBUG -- deleteAsUser: " + Arrays.toString(commandArray));
|
||||
if (LOG.isDebugEnabled()) {
|
||||
LOG.debug("deleteAsUser: " + Arrays.toString(commandArray));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue