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

Josh Elser commented on HBASE-21012:
------------------------------------

{quote}This issue is about the forward compatibility rather than backward 
compatibility. The older hbase can't read hfiles generated by later versions.
{quote}
Sorry! I got it backwards :)

If we don't have a separate reader class (which I assume is the case), you 
could do the opposite of what I suggested. Include a test that reads the newer 
file and make sure that test passes on 1.x branches (running the test on 2.x 
would be essentially pointless, but that's OK I think).

> Revert the change of serializing TimeRangeTracker
> -------------------------------------------------
>
>                 Key: HBASE-21012
>                 URL: https://issues.apache.org/jira/browse/HBASE-21012
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Chia-Ping Tsai
>            Assignee: Kuan-Po Tseng
>            Priority: Critical
>             Fix For: 3.0.0, 2.0.2, 2.1.1
>
>         Attachments: HBASE-21012.master.001.patch, 
> HBASE-21012.master.002.patch, HBASE-21012.master.003.patch, 
> HBASE-21012.master.003.patch, HBASE-21012.master.004.patch, 
> HBASE-21012.master.005.patch
>
>
> HBASE-18754 change the serialization of TimeRangeTracker from "manual way" to 
> protobuf. However, the change breaks the backward compatibility of hfile. We 
> should revert the change ASAP.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to