diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/launcher/TestContainerLaunch.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/launcher/TestContainerLaunch.java index 1ee6eb6544..5923f8ef05 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/launcher/TestContainerLaunch.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/launcher/TestContainerLaunch.java @@ -1795,7 +1795,9 @@ public void testValidEnvVariableSubstitution() throws IOException { "testVar", "version${foo}" ); List commands = new ArrayList(); DefaultContainerExecutor executor = new DefaultContainerExecutor(); - executor.setConf(new Configuration()); + Configuration execConf = new Configuration(); + execConf.setBoolean(YarnConfiguration.NM_LOG_CONTAINER_DEBUG_INFO, false); + executor.setConf(execConf); executor.writeLaunchEnv(fos, env, resources, commands, new Path(localLogDir.getAbsolutePath()), user); fos.flush();