Return-Path: X-Original-To: apmail-hadoop-common-commits-archive@www.apache.org Delivered-To: apmail-hadoop-common-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 946D719FD2 for ; Tue, 15 Mar 2016 18:42:59 +0000 (UTC) Received: (qmail 65665 invoked by uid 500); 15 Mar 2016 18:42:59 -0000 Delivered-To: apmail-hadoop-common-commits-archive@hadoop.apache.org Received: (qmail 65602 invoked by uid 500); 15 Mar 2016 18:42:59 -0000 Mailing-List: contact common-commits-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-commits@hadoop.apache.org Received: (qmail 65593 invoked by uid 99); 15 Mar 2016 18:42:59 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Mar 2016 18:42:59 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 141D5DFB8A; Tue, 15 Mar 2016 18:42:59 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: gtcarrera9@apache.org To: common-commits@hadoop.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer 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 +0000 (UTC) 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 Authored: Tue Mar 15 11:40:54 2016 -0700 Committer: Li Lu 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; }