HBASE-4184 CatalogJanitor doesn't work properly when fs.default.name isn't set in config file.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1156377 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a0478e5aed
commit
4f253b37c2
|
@ -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
|
||||
|
|
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue