hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r541442 - in /lucene/hadoop/trunk: CHANGES.txt src/java/org/apache/hadoop/io/compress/GzipCodec.java
Date Thu, 24 May 2007 21:55:28 GMT
Author: cutting
Date: Thu May 24 14:55:25 2007
New Revision: 541442

URL: http://svn.apache.org/viewvc?view=rev&rev=541442
Log:
HADOOP-1427.  Fix a typo that caused GzipCodec to incorrectly use a very small input buffer.
 Contributed by Espen Amble Kolstad.

Modified:
    lucene/hadoop/trunk/CHANGES.txt
    lucene/hadoop/trunk/src/java/org/apache/hadoop/io/compress/GzipCodec.java

Modified: lucene/hadoop/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/CHANGES.txt?view=diff&rev=541442&r1=541441&r2=541442
==============================================================================
--- lucene/hadoop/trunk/CHANGES.txt (original)
+++ lucene/hadoop/trunk/CHANGES.txt Thu May 24 14:55:25 2007
@@ -488,6 +488,9 @@
      meant failed tasks didn't cause the job to fail.
      (Arun C Murthy via tomwhite)
 
+126. HADOOP-1427.  Fix a typo that caused GzipCodec to incorrectly use
+     a very small input buffer.  (Espen Amble Kolstad via cutting)
+
 
 Release 0.12.3 - 2007-04-06
 

Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/io/compress/GzipCodec.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/java/org/apache/hadoop/io/compress/GzipCodec.java?view=diff&rev=541442&r1=541441&r2=541442
==============================================================================
--- lucene/hadoop/trunk/src/java/org/apache/hadoop/io/compress/GzipCodec.java (original)
+++ lucene/hadoop/trunk/src/java/org/apache/hadoop/io/compress/GzipCodec.java Thu May 24 14:55:25
2007
@@ -172,7 +172,7 @@
     if (ZlibFactory.isNativeZlibLoaded()) {
       Decompressor decompressor =
         new ZlibDecompressor(ZlibDecompressor.CompressionHeader.AUTODETECT_GZIP_ZLIB,
-                             64*1-24);
+                             64*1024);
 
       compInStream = new DecompressorStream(in, decompressor,
                                             conf.getInt("io.file.buffer.size", 4*1024));




Mime
View raw message