You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tez.apache.org by je...@apache.org on 2017/03/02 16:16:51 UTC

tez git commit: TEZ-3646. IFile.Writer has an extra output stream flush call (jeagles)

Repository: tez
Updated Branches:
  refs/heads/master 605154203 -> 1f2a93563


TEZ-3646. IFile.Writer has an extra output stream flush call (jeagles)


Project: http://git-wip-us.apache.org/repos/asf/tez/repo
Commit: http://git-wip-us.apache.org/repos/asf/tez/commit/1f2a9356
Tree: http://git-wip-us.apache.org/repos/asf/tez/tree/1f2a9356
Diff: http://git-wip-us.apache.org/repos/asf/tez/diff/1f2a9356

Branch: refs/heads/master
Commit: 1f2a93563ac936b607028dbf671471686eb94829
Parents: 6051542
Author: Jonathan Eagles <je...@yahoo-inc.com>
Authored: Thu Mar 2 10:16:29 2017 -0600
Committer: Jonathan Eagles <je...@yahoo-inc.com>
Committed: Thu Mar 2 10:16:29 2017 -0600

----------------------------------------------------------------------
 CHANGES.txt                                                         | 1 +
 .../java/org/apache/tez/runtime/library/common/sort/impl/IFile.java | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tez/blob/1f2a9356/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 7538f3e..b8465de 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -7,6 +7,7 @@ INCOMPATIBLE CHANGES
 
 ALL CHANGES:
 
+  TEZ-3646. IFile.Writer has an extra output stream flush call
   TEZ-3643. Long running AMs can go out of memory due to retained AMContainer instances.
   TEZ-3637. TezMerger logs too much at INFO level
   TEZ-3638. VertexImpl logs too much at info when removing tasks after auto-reduce parallelism

http://git-wip-us.apache.org/repos/asf/tez/blob/1f2a9356/tez-runtime-library/src/main/java/org/apache/tez/runtime/library/common/sort/impl/IFile.java
----------------------------------------------------------------------
diff --git a/tez-runtime-library/src/main/java/org/apache/tez/runtime/library/common/sort/impl/IFile.java b/tez-runtime-library/src/main/java/org/apache/tez/runtime/library/common/sort/impl/IFile.java
index f49bc35..bcf6ca6 100644
--- a/tez-runtime-library/src/main/java/org/apache/tez/runtime/library/common/sort/impl/IFile.java
+++ b/tez-runtime-library/src/main/java/org/apache/tez/runtime/library/common/sort/impl/IFile.java
@@ -187,7 +187,6 @@ public class IFile {
       if (!headerWritten) {
         outputStream.write(HEADER, 0, HEADER.length - 1);
         outputStream.write((compressOutput) ? (byte) 1 : (byte) 0);
-        outputStream.flush();
         headerWritten = true;
       }
     }