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:
Michael Stack 2011-08-10 21:36:57 +00:00
parent a0478e5aed
commit 4f253b37c2
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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());