You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Espen Amble Kolstad (JIRA)" <ji...@apache.org> on 2007/05/24 15:32:16 UTC

[jira] Updated: (HADOOP-1427) Typo in GzipCodec.createInputStream - bufferSize

     [ https://issues.apache.org/jira/browse/HADOOP-1427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Espen Amble Kolstad updated HADOOP-1427:
----------------------------------------

    Status: Patch Available  (was: Open)

> 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
>
> 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.