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

Aaron Kimball updated HADOOP-6315:
----------------------------------

    Attachment: HADOOP-6315.patch

GzipCodec does not use BuiltInZlibInflater as its decompressor; 
createDecompressor() returns null. But getDecompressorType() returns 
BuiltInZlibInflater as its inflater type, which causes CodecPool to use 
BuiltInZlibInflater for GzipCodec.getDecompressor(). This inflater does not 
work on .gz files.

This patch fixes the bug. Also includes two test cases that demonstrate the 
problem.

> GzipCodec should not represent BuiltInZlibInflater as decompressorType
> ----------------------------------------------------------------------
>
>                 Key: HADOOP-6315
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6315
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: io
>            Reporter: Aaron Kimball
>            Assignee: Aaron Kimball
>         Attachments: HADOOP-6315.patch
>
>
> It is possible to pollute CodecPool in such a way that Hadoop cannot read 
> gzip-compressed data.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to