You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Himanshu Vashishtha (JIRA)" <ji...@apache.org> on 2013/08/22 19:31:52 UTC

[jira] [Commented] (HBASE-9297) Fix HFileV1Detector tool post HBASE-9126

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

Himanshu Vashishtha commented on HBASE-9297:
--------------------------------------------

So, the major version of any hfile is in the last int value of the file. I don't need to read the entire FixedFileTrailer. Tested it with both HFileV1 and HFileV2 and it looks good.

                
> Fix HFileV1Detector tool post HBASE-9126
> ----------------------------------------
>
>                 Key: HBASE-9297
>                 URL: https://issues.apache.org/jira/browse/HBASE-9297
>             Project: HBase
>          Issue Type: Bug
>          Components: migration
>            Reporter: Himanshu Vashishtha
>            Assignee: Himanshu Vashishtha
>
> We need to detect any HFileV1 before upgrading to 0.96. The code to read HFileV1 version is removed in HBASE-9126. It breaks HFileV1Detector tool.

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