tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhiyu...@apache.org
Subject [24/50] [abbrv] tez git commit: TEZ-3646. IFile.Writer has an extra output stream flush call (jeagles)
Date Tue, 28 Mar 2017 19:48:05 GMT
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/TEZ-1190
Commit: 1f2a93563ac936b607028dbf671471686eb94829
Parents: 6051542
Author: Jonathan Eagles <jeagles@yahoo-inc.com>
Authored: Thu Mar 2 10:16:29 2017 -0600
Committer: Jonathan Eagles <jeagles@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;
       }
     }


Mime
View raw message