[
https://issues.apache.org/jira/browse/HBASE-21012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16574192#comment-16574192
]
Kuan-Po Tseng commented on HBASE-21012:
---------------------------------------
Josh Elser Thanks for your comments.
{quote}I'd suggest just including an HFile with the old serialization and
including it in src/test/resources. Then, you just write a test to make sure it
can read that old HFile version.
{quote}
HBase in 2.x are capable of reading HFile from old version, the problem is old
HBase version can't read HFile generated by new HBase version. So we have to
revert the way of serializing TRT. (This situation might not be called as
"backward compatability", sorry about that.)
> 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-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)