Repository: hbase
Updated Branches:
  refs/heads/branch-1.1 a52770851 -> 1aae97057


HBASE-19052 FixedFileTrailer should recognize CellComparatorImpl class in 
branch-1.x


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/1aae9705
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/1aae9705
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/1aae9705

Branch: refs/heads/branch-1.1
Commit: 1aae970576b29a48e755365683017d1b828e88e4
Parents: a527708
Author: tedyu <[email protected]>
Authored: Mon Oct 23 08:10:34 2017 -0700
Committer: tedyu <[email protected]>
Committed: Mon Oct 23 08:10:34 2017 -0700

----------------------------------------------------------------------
 .../org/apache/hadoop/hbase/io/hfile/FixedFileTrailer.java   | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/1aae9705/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/FixedFileTrailer.java
----------------------------------------------------------------------
diff --git 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/FixedFileTrailer.java
 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/FixedFileTrailer.java
index 096cc30..78e556c 100644
--- 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/FixedFileTrailer.java
+++ 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/FixedFileTrailer.java
@@ -571,13 +571,13 @@ public class FixedFileTrailer {
         comparatorClassName = KeyValue.META_COMPARATOR.getClass().getName();
       } else if 
(comparatorClassName.equals(KeyValue.RAW_COMPARATOR.getLegacyKeyComparatorName()))
 {
         comparatorClassName = KeyValue.RAW_COMPARATOR.getClass().getName();
-      } else if 
(comparatorClassName.equals("org.apache.hadoop.hbase.CellComparator")) {
+      } else if 
(comparatorClassName.equals("org.apache.hadoop.hbase.CellComparatorImpl")) {
         // 2.0 based comparators found in class name. Convert it to 
corresponding Comparators in 1.x
-        // branch. Refer to HBASE-16189
+        // branch. Refer to HBASE-19052
         comparatorClassName = KeyValue.COMPARATOR.getClass().getName();
       } else if ((comparatorClassName
-          
.equals("org.apache.hadoop.hbase.CellComparator$MetaCellComparator"))) {
-        // Refer to HBASE-16189. Fallback to 1.x comparators
+          
.equals("org.apache.hadoop.hbase.CellComparatorImpl$MetaCellComparator"))) {
+        // Refer to HBASE-19052. Fallback to 1.x comparators
         comparatorClassName = KeyValue.META_COMPARATOR.getClass().getName();
       }
 

Reply via email to