From a888b5bc533bb91a3394f15a69879be1d7838592 Mon Sep 17 00:00:00 2001 From: Xuan Date: Tue, 15 Mar 2016 22:10:39 -0700 Subject: [PATCH] Revert "YARN-4814. ATS 1.5 timelineclient impl call flush after every event write. (Xuan Gong via gtcarrera9)" This reverts commit 3a0b69544183f71c4683bc477656473494fc09d0. --- .../hadoop/yarn/client/api/impl/FileSystemTimelineWriter.java | 1 - 1 file changed, 1 deletion(-) 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 c494f655eae..b471b3b59b3 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,7 +276,6 @@ 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; }