hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1156377 - in /hbase/trunk: CHANGES.txt src/main/java/org/apache/hadoop/hbase/master/CatalogJanitor.java
Date Wed, 10 Aug 2011 21:36:57 GMT
Author: stack
Date: Wed Aug 10 21:36:57 2011
New Revision: 1156377

URL: http://svn.apache.org/viewvc?rev=1156377&view=rev
Log:
HBASE-4184 CatalogJanitor doesn't work properly when fs.default.name isn't set in config file.

Modified:
    hbase/trunk/CHANGES.txt
    hbase/trunk/src/main/java/org/apache/hadoop/hbase/master/CatalogJanitor.java

Modified: hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/trunk/CHANGES.txt?rev=1156377&r1=1156376&r2=1156377&view=diff
==============================================================================
--- hbase/trunk/CHANGES.txt (original)
+++ hbase/trunk/CHANGES.txt Wed Aug 10 21:36:57 2011
@@ -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

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/master/CatalogJanitor.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/master/CatalogJanitor.java?rev=1156377&r1=1156376&r2=1156377&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/master/CatalogJanitor.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/master/CatalogJanitor.java Wed Aug 10
21:36:57 2011
@@ -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());



Mime
View raw message