[ 
https://issues.apache.org/jira/browse/HBASE-25378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pankaj Kumar updated HBASE-25378:
---------------------------------
    Description: 
HBASE-24968 moved MetaCellComparator out from CellComparatorImpl to avoid the 
deadlock issue. But this introduced compatibility 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.

 

  was:
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.

 


> 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: 3.0.0-alpha-1, 2.4.0, 2.3.2
>            Reporter: Pankaj Kumar
>            Assignee: Pankaj Kumar
>            Priority: Critical
>             Fix For: 3.0.0-alpha-1, 2.4.0, 2.3.4
>
>
> HBASE-24968 moved MetaCellComparator out from CellComparatorImpl to avoid the 
> deadlock issue. But this introduced compatibility 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)

Reply via email to