hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cdoug...@apache.org
Subject svn commit: r676772 - in /hadoop/core/trunk: CHANGES.txt src/core/org/apache/hadoop/io/CompressedWritable.java
Date Mon, 14 Jul 2008 23:57:19 GMT
Author: cdouglas
Date: Mon Jul 14 16:57:19 2008
New Revision: 676772

URL: http://svn.apache.org/viewvc?rev=676772&view=rev
Log:
HADOOP-3737. Fix CompressedWritable to call Deflater::end to release
compressor memory. Contributed by Grant Glouser.

Modified:
    hadoop/core/trunk/CHANGES.txt
    hadoop/core/trunk/src/core/org/apache/hadoop/io/CompressedWritable.java

Modified: hadoop/core/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/CHANGES.txt?rev=676772&r1=676771&r2=676772&view=diff
==============================================================================
--- hadoop/core/trunk/CHANGES.txt (original)
+++ hadoop/core/trunk/CHANGES.txt Mon Jul 14 16:57:19 2008
@@ -837,6 +837,9 @@
 
     HADOOP-3752. Fix audit logging to record rename events. (cdouglas)
 
+    HADOOP-3737. Fix CompressedWritable to call Deflater::end to release
+    compressor memory. (Grant Glouser via cdouglas)
+
 Release 0.17.2 - Unreleased
 
   BUG FIXES

Modified: hadoop/core/trunk/src/core/org/apache/hadoop/io/CompressedWritable.java
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/core/org/apache/hadoop/io/CompressedWritable.java?rev=676772&r1=676771&r2=676772&view=diff
==============================================================================
--- hadoop/core/trunk/src/core/org/apache/hadoop/io/CompressedWritable.java (original)
+++ hadoop/core/trunk/src/core/org/apache/hadoop/io/CompressedWritable.java Mon Jul 14 16:57:19
2008
@@ -73,6 +73,7 @@
         new DataOutputStream(new DeflaterOutputStream(deflated, deflater));
       writeCompressed(dout);
       dout.close();
+      deflater.end();
       compressed = deflated.toByteArray();
     }
     out.writeInt(compressed.length);



Mime
View raw message