diff --git a/CHANGES.txt b/CHANGES.txt index 81899f99798..611d9d9d75f 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -197,6 +197,8 @@ Release 0.91.0 - Unreleased HBASE-4181 HConnectionManager can't find cached HRegionInterface and makes clients work very slow (Jia Liu) HBASE-4156 ZKConfig defaults clientPort improperly (Michajlo Matijkiw) + HBASE-4184 CatalogJanitor doesn't work properly when "fs.default.name" isn't + set in config file (Ming Ma) IMPROVEMENTS diff --git a/src/main/java/org/apache/hadoop/hbase/master/CatalogJanitor.java b/src/main/java/org/apache/hadoop/hbase/master/CatalogJanitor.java index 0692375c178..b53e9a03508 100644 --- a/src/main/java/org/apache/hadoop/hbase/master/CatalogJanitor.java +++ b/src/main/java/org/apache/hadoop/hbase/master/CatalogJanitor.java @@ -115,8 +115,8 @@ class CatalogJanitor extends Chore { if (left == null) return -1; if (right == null) return 1; // Same table name. - int result = Bytes.compareTo(left.getTableDesc().getName(), - right.getTableDesc().getName()); + int result = Bytes.compareTo(left.getTableName(), + right.getTableName()); if (result != 0) return result; // Compare start keys. result = Bytes.compareTo(left.getStartKey(), right.getStartKey());