HBASE-24968 : Move META_COMPARATOR to subclass MetaCellComparator
commit1c568ec95d6442689a5104656e6199ceeaac7f3c
authorViraj Jasani <vjasani@apache.org>
Sun, 30 Aug 2020 16:29:41 +0000 (30 21:59 +0530)
committerViraj Jasani <vjasani@apache.org>
Sun, 30 Aug 2020 16:33:57 +0000 (30 22:03 +0530)
treee889289a432812c2752dfb82f80345cf97a04f04
parent2eb2c969604d3bf90de6e42a82198414391176ae
HBASE-24968 : Move META_COMPARATOR to subclass MetaCellComparator

* Break subclass referencing of MetaCellComparator from superclass CellComparatorImpl
  static initializer by moving META_COMPARATOR to subclass MetaCellComparator

Closes #2329

Signed-off-by: Duo Zhang <zhangduo@apache.org>
12 files changed:
hbase-common/src/main/java/org/apache/hadoop/hbase/CellComparatorImpl.java
hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java
hbase-common/src/main/java/org/apache/hadoop/hbase/MetaCellComparator.java [new file with mode: 0644]
hbase-common/src/test/java/org/apache/hadoop/hbase/TestCellComparator.java
hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/FixedFileTrailer.java
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileWriterImpl.java
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
hbase-server/src/main/java/org/apache/hadoop/hbase/wal/BoundedRecoveredHFilesOutputSink.java
hbase-server/src/test/java/org/apache/hadoop/hbase/MetaMockingUtil.java
hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/TestFixedFileTrailer.java
hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/TestHFile.java