Pankaj Kumar created HBASE-25378:
------------------------------------
Summary: Legacy comparator in Hfile trailer will fail to load
Key: HBASE-25378
URL: https://issues.apache.org/jira/browse/HBASE-25378
Project: HBase
Issue Type: Bug
Affects Versions: 2.3.2, 3.0.0-alpha-1, 2.4.0
Reporter: Pankaj Kumar
Assignee: Pankaj Kumar
HBASE-24968 moved MetaCellComparator out from CellComparatorImpl to avoid the
deadlock issue. But this introduced incompatibility issue, old hfile with
comparator class as "org.apache.hadoop.hbase.CellComparator$MetaCellComparator"
will fail to open due to ClassNotFoundException.
Also we should also handle the case when comparator class is
"org.apache.hadoop.hbase.CellComparatorImpl$MetaCellComparator", which was case
before HBASE-24968.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)