YARN-7629. TestContainerLaunch# fails after YARN-7381. (Jason Lowe via wangda)
Change-Id: Ia6a3f05c9a7e797d8190123d304ecc4e2b018e33 (cherry picked from commit 44825f096068dfc17fe4dcfb7db3d775b08fa7a0)
This commit is contained in:
parent
c3e6ab8c89
commit
90636cf127
@ -1795,7 +1795,9 @@ public void testValidEnvVariableSubstitution() throws IOException {
|
||||
"testVar", "version${foo}" );
|
||||
List<String> commands = new ArrayList<String>();
|
||||
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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user