You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2011/02/24 02:59:38 UTC

[jira] Updated: (HADOOP-6707) BlockDecompressorStream.resetState() has a bug, which often causes the block decompressing not to work.

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

Todd Lipcon updated HADOOP-6707:
--------------------------------

    Status: Open  (was: Patch Available)

Hi Ruyue. Can you please add a unit test that shows the issue as you described with SequenceFile? Perhaps an addition to TestCodec?

> BlockDecompressorStream.resetState() has a bug, which often causes the block decompressing not to work.
> -------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-6707
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6707
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: io
>            Reporter: Ruyue Ma
>            Assignee: Ruyue Ma
>         Attachments: hadoop-6707.patch
>
>
> BlockDecompressorStream.resetState() has a bug.
> The method of resetState() doesn't reinit the two member variables(int originalBlockSize; int noUncompressedBytes) of Class BlockDecompressorStream.  
> This bug will cause the block decompressing not to work.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira