hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtcarre...@apache.org
Subject hadoop git commit: YARN-4814. ATS 1.5 timelineclient impl call flush after every event write. (Xuan Gong via gtcarrera9)
Date Tue, 15 Mar 2016 18:42:59 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 da24fde33 -> 14a4110b7


YARN-4814. ATS 1.5 timelineclient impl call flush after every event write. (Xuan Gong via
gtcarrera9)

(cherry picked from commit 3a0b69544183f71c4683bc477656473494fc09d0)


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

Branch: refs/heads/branch-2
Commit: 14a4110b75cb55556cca41dca9c121344d876a45
Parents: da24fde
Author: Li Lu <gtcarrera9@apache.org>
Authored: Tue Mar 15 11:40:54 2016 -0700
Committer: Li Lu <gtcarrera9@apache.org>
Committed: Tue Mar 15 11:42:30 2016 -0700

----------------------------------------------------------------------
 .../hadoop/yarn/client/api/impl/FileSystemTimelineWriter.java       | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/14a4110b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/client/api/impl/FileSystemTimelineWriter.java
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/client/api/impl/FileSystemTimelineWriter.java
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/client/api/impl/FileSystemTimelineWriter.java
index 9e719b7..44cad60 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/client/api/impl/FileSystemTimelineWriter.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/client/api/impl/FileSystemTimelineWriter.java
@@ -276,6 +276,7 @@ public class FileSystemTimelineWriter extends TimelineWriter{
     mapper.setAnnotationIntrospector(new JaxbAnnotationIntrospector());
     mapper.setSerializationInclusion(Inclusion.NON_NULL);
     mapper.configure(Feature.CLOSE_CLOSEABLE, false);
+    mapper.configure(Feature.FLUSH_AFTER_WRITE_VALUE, false);
     return mapper;
   }
 


Mime
View raw message