YARN-1357. TestContainerLaunch.testContainerEnvVariables fails on Windows. Contributed by Chuan Liu.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1537293 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Chris Nauroth 2013-10-30 20:49:12 +00:00
parent 6aeaef9276
commit 218ef59d89
2 changed files with 5 additions and 2 deletions

View File

@ -161,6 +161,9 @@ Release 2.2.1 - UNRELEASED
YARN-1349. yarn.cmd does not support passthrough to any arbitrary class. YARN-1349. yarn.cmd does not support passthrough to any arbitrary class.
(cnauroth) (cnauroth)
YARN-1357. TestContainerLaunch.testContainerEnvVariables fails on Windows.
(Chuan Liu via cnauroth)
Release 2.2.0 - 2013-10-13 Release 2.2.0 - 2013-10-13

View File

@ -388,8 +388,8 @@ public void testContainerEnvVariables() throws Exception {
+ processStartFile); + processStartFile);
for (String serviceName : containerManager.getAuxServiceMetaData() for (String serviceName : containerManager.getAuxServiceMetaData()
.keySet()) { .keySet()) {
fileWriter.println("@echo" + AuxiliaryServiceHelper.NM_AUX_SERVICE fileWriter.println("@echo %" + AuxiliaryServiceHelper.NM_AUX_SERVICE
+ serviceName + " >> " + serviceName + "%>> "
+ processStartFile); + processStartFile);
} }
fileWriter.println("@echo " + cId + ">> " + processStartFile); fileWriter.println("@echo " + cId + ">> " + processStartFile);