[
https://issues.apache.org/jira/browse/HADOOP-1427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Espen Amble Kolstad updated HADOOP-1427:
----------------------------------------
Attachment: GzipCodec.patch
Patch against 0.12.3
> Typo in GzipCodec.createInputStream - bufferSize
> ------------------------------------------------
>
> Key: HADOOP-1427
> URL: https://issues.apache.org/jira/browse/HADOOP-1427
> Project: Hadoop
> Issue Type: Bug
> Components: io
> Affects Versions: 0.12.3
> Reporter: Espen Amble Kolstad
> Attachments: GzipCodec.patch
>
>
> Theres a typo (I think) in GzipCodec:
> {code}
> Decompressor decompressor =
> new
> ZlibDecompressor(ZlibDecompressor.CompressionHeader.AUTODETECT_GZIP_ZLIB,
> 64*1-24);
> {code}
> gives a buffersize of 40, should be:
> {code}
> Decompressor decompressor =
> new
> ZlibDecompressor(ZlibDecompressor.CompressionHeader.AUTODETECT_GZIP_ZLIB,
> 64*1024);
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.