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

Ted Yu commented on HBASE-7414:
-------------------------------

Looking at HFileBlock.java:
{code}
  static final int MINOR_VERSION_WITH_CHECKSUM = 1;
  static final int MINOR_VERSION_NO_CHECKSUM = 0;
{code}
It seems that MINOR_VERSION of 2 doesn't correspond to a particular feature. 2 
is just marked as MAX_MINOR_VERSION.
So I guess PBUF_TRAILER_MINOR_VERSION can carry value of 2.

It would be nice if MINOR_VERSION constants can be found in one place so that 
it is easier to maintain.
                
> Convert some HFile metadata to PB
> ---------------------------------
>
>                 Key: HBASE-7414
>                 URL: https://issues.apache.org/jira/browse/HBASE-7414
>             Project: HBase
>          Issue Type: Task
>          Components: HFile
>            Reporter: stack
>            Assignee: Andrew Purtell
>            Priority: Critical
>             Fix For: 0.96.0
>
>         Attachments: 7414.patch
>
>
> See HBASE-7201
> Convertion should be in a manner that does not prevent our being able to read 
> old style hfiles with Writable metadata.

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