[ 
https://issues.apache.org/jira/browse/HBASE-7921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13587557#comment-13587557
 ] 

Andrew Purtell commented on HBASE-7921:
---------------------------------------

bq. Does this bring on test failures Andrew?

Yes, but only if the native Hadoop library (thus native gzip codec) is loaded. 
I tripped over this when running the unit test suite with the native libraries 
available (as part of testing for HBASE-7544).
                
> 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

Reply via email to