Skip to content

Commit 82eda77

Browse files
committed
YARN-3384. TestLogAggregationService.verifyContainerLogs fails after YARN-2777. Contributed by Naganarasimha G R.
1 parent 0b9f12c commit 82eda77

File tree

2 files changed

+6
-1
lines changed
  • hadoop-yarn-project

2 files changed

+6
-1
lines changed

hadoop-yarn-project/CHANGES.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -816,6 +816,9 @@ Release 2.7.0 - UNRELEASED
816816
YARN-3369. Missing NullPointer check in AppSchedulingInfo causes RM to die.
817817
(Brahma Reddy Battula via wangda)
818818

819+
YARN-3384. TestLogAggregationService.verifyContainerLogs fails after
820+
YARN-2777. (Naganarasimha G R via ozawa)
821+
819822
Release 2.6.0 - 2014-11-18
820823

821824
INCOMPATIBLE CHANGES

hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/logaggregation/TestLogAggregationService.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,9 @@ private LogFileStatusInLastCycle verifyContainerLogs(LogAggregationService logAg
804804
Map<String, String> thisContainerMap = logMap.remove(containerStr);
805805
Assert.assertEquals(numOfContainerLogs, thisContainerMap.size());
806806
for (String fileType : logFiles) {
807-
String expectedValue = containerStr + " Hello " + fileType + "!";
807+
String expectedValue =
808+
containerStr + " Hello " + fileType + "!End of LogType:"
809+
+ fileType;
808810
LOG.info("Expected log-content : " + new String(expectedValue));
809811
String foundValue = thisContainerMap.remove(fileType);
810812
Assert.assertNotNull(cId + " " + fileType

0 commit comments

Comments
 (0)