[
https://issues.apache.org/jira/browse/HBASE-21012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16573620#comment-16573620
]
Josh Elser commented on HBASE-21012:
------------------------------------
{quote}I have no idea about how to write the test since it cross two different
hbase branches...
{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. You might want to look at test cases around HFile v3.
There may already be some backwards compat test cases you can mimic.
> 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)