hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Kimball (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-6315) GzipCodec should not represent BuiltInZlibInflater as decompressorType
Date Thu, 15 Oct 2009 21:35:31 GMT

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


Mime
View raw message