From 07d1cb612ccef6df3a2ce4018823ba3e61d31aaa Mon Sep 17 00:00:00 2001 From: Steve Loughran Date: Thu, 7 Jan 2016 14:30:07 +0000 Subject: [PATCH] YARN-4550. Some tests in TestContainerLanch fails on non-english locale environment. (Takashi Ohnishi via stevel) --- hadoop-yarn-project/CHANGES.txt | 3 +++ .../containermanager/launcher/TestContainerLaunch.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/hadoop-yarn-project/CHANGES.txt b/hadoop-yarn-project/CHANGES.txt index 378e9ed664..0fce804794 100644 --- a/hadoop-yarn-project/CHANGES.txt +++ b/hadoop-yarn-project/CHANGES.txt @@ -108,6 +108,9 @@ Release 2.9.0 - UNRELEASED YARN-4393. Fix intermittent test failure for TestResourceLocalizationService #testFailedDirsResourceRelease (Varun Saxana via rohithsharmaks) + YARN-4550. Some tests in TestContainerLanch fails on non-english locale + environment. (Takashi Ohnishi via stevel) + Release 2.8.0 - UNRELEASED INCOMPATIBLE CHANGES 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 aa41de70a1..1169c6812d 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 @@ -631,7 +631,7 @@ public void handle(ContainerEvent event) { + " bytes of")); Assert.assertTrue("Should contain contents of error Log", exitEvent.getDiagnosticInfo().contains( - INVALID_JAVA_HOME + "/bin/java: No such file or directory")); + INVALID_JAVA_HOME + "/bin/java")); } } }