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 "Ruyue Ma (JIRA)" <ji...@apache.org> on 2010/04/15 08:48:49 UTC

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

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
             Fix For: 0.21.0


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.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Soundararajan Velu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12876136#action_12876136 ] 

Soundararajan Velu commented on HADOOP-6707:
--------------------------------------------

Ruyue, This works fine for us, Please let me know if you are facing any sepecific issue with not resetting these instance variables... It will be good if you can post the exact issue here. Thanks.

> 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
>             Fix For: 0.21.0
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.


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

Posted by "Ruyue Ma (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12876138#action_12876138 ] 

Ruyue Ma commented on HADOOP-6707:
----------------------------------

 You have a sequencefile compressed with lzocodec. If you randomly sync(not seek) to a record block, the decompression will not work.

I guess that MapFile maybe have the bug also.

> 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
>             Fix For: 0.21.0
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.


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

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12928516#action_12928516 ] 

Hadoop QA commented on HADOOP-6707:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12446461/hadoop-6707.patch
  against trunk revision 1031422.

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

    +1 system test framework.  The patch passed system test framework compile.

Test results: https://hudson.apache.org/hudson/job/PreCommit-HADOOP-Build/39//testReport/
Findbugs warnings: https://hudson.apache.org/hudson/job/PreCommit-HADOOP-Build/39//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: https://hudson.apache.org/hudson/job/PreCommit-HADOOP-Build/39//console

This message is automatically generated.

> 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.
-
You can reply to this email to add a comment to the issue online.


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

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12876146#action_12876146 ] 

Hadoop QA commented on HADOOP-6707:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12446461/hadoop-6707.patch
  against trunk revision 951624.

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/568/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/568/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/568/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/568/console

This message is automatically generated.

> 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
>             Fix For: 0.21.0
>
>         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.
-
You can reply to this email to add a comment to the issue online.


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

Posted by "Ruyue Ma (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ruyue Ma updated HADOOP-6707:
-----------------------------

    Attachment: hadoop-6707.patch

> 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
>             Fix For: 0.21.0
>
>         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.
-
You can reply to this email to add a comment to the issue online.


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

Posted by "Ruyue Ma (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ruyue Ma updated HADOOP-6707:
-----------------------------

    Status: Patch Available  (was: Open)

> 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
>             Fix For: 0.21.0
>
>         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.
-
You can reply to this email to add a comment to the issue online.