Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-25378

Legacy comparator in Hfile trailer will fail to load

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 3.0.0-alpha-1, 2.4.0, 2.3.2
    • 3.0.0-alpha-1, 2.4.0
    • None
    • None

    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.

       

      Attachments

        Issue Links

          Activity

            People

              pankajkumar Pankaj Kumar
              pankajkumar Pankaj Kumar
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: