You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2013/02/25 04:04:13 UTC

[jira] [Updated] (HBASE-7921) TestHFileBlock.testGzipCompression should ignore the block checksum

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

Andrew Purtell updated HBASE-7921:
----------------------------------

    Attachment: 7921.patch
    
> TestHFileBlock.testGzipCompression should ignore the block checksum
> -------------------------------------------------------------------
>
>                 Key: HBASE-7921
>                 URL: https://issues.apache.org/jira/browse/HBASE-7921
>             Project: HBase
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>            Priority: Minor
>         Attachments: 7921.patch
>
>
> TestHFileBlock.createTestBlockStr can change the gzip header after the block is produced. The OS field can be set to 0 on Linux or Mac if the native gzip codec is available and is used, but the test code then resets it to 3. When comparing the resulting block the checksum should be ignored.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira