hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aajis...@apache.org
Subject hadoop git commit: MAPREDUCE-7162. TestEvents#testEvents fails. Contributed by Zhaohui Xin.
Date Tue, 27 Nov 2018 11:02:42 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-3.1 eb4377289 -> 5e2f12374


MAPREDUCE-7162. TestEvents#testEvents fails. Contributed by Zhaohui Xin.

(cherry picked from commit 1aad99a71813660b83628cacfed393d0b3a123cc)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/5e2f1237
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/5e2f1237
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/5e2f1237

Branch: refs/heads/branch-3.1
Commit: 5e2f123748116047c6e278f1c43ab8e19301022b
Parents: eb43772
Author: Akira Ajisaka <aajisaka@apache.org>
Authored: Tue Nov 27 20:01:11 2018 +0900
Committer: Akira Ajisaka <aajisaka@apache.org>
Committed: Tue Nov 27 20:02:34 2018 +0900

----------------------------------------------------------------------
 .../java/org/apache/hadoop/mapreduce/jobhistory/EventWriter.java    | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/5e2f1237/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/jobhistory/EventWriter.java
----------------------------------------------------------------------
diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/jobhistory/EventWriter.java
b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/jobhistory/EventWriter.java
index b07c676..02ec53e 100644
--- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/jobhistory/EventWriter.java
+++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/jobhistory/EventWriter.java
@@ -94,6 +94,7 @@ public class EventWriter {
     wrapper.setEvent(event.getDatum());
     writer.write(wrapper, encoder);
     if (this.jsonOutput) {
+      encoder.flush();
       out.writeBytes("\n");
     }
   }


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message