hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r736371 - in /hadoop/hbase/trunk: CHANGES.txt src/java/org/apache/hadoop/hbase/client/HConnectionManager.java
Date Wed, 21 Jan 2009 18:42:31 GMT
Author: jimk
Date: Wed Jan 21 10:42:31 2009
New Revision: 736371

URL: http://svn.apache.org/viewvc?rev=736371&view=rev
Log:
HBASE-1121  Cluster confused about where -ROOT- is. This patch fixes "re-finding" the root
region.

Modified:
    hadoop/hbase/trunk/CHANGES.txt
    hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/HConnectionManager.java

Modified: hadoop/hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/CHANGES.txt?rev=736371&r1=736370&r2=736371&view=diff
==============================================================================
--- hadoop/hbase/trunk/CHANGES.txt (original)
+++ hadoop/hbase/trunk/CHANGES.txt Wed Jan 21 10:42:31 2009
@@ -9,6 +9,7 @@
                (Jonathan Ellis via Stack)
    HBASE-1138  Test that readers opened after a sync can see all data up to the
                sync (temporary until HADOOP-4379 is resolved)
+   HBASE-1121  Cluster confused about where -ROOT- is
 
   IMPROVEMENTS
    HBASE-1089  Add count of regions on filesystem to master UI; add percentage

Modified: hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/HConnectionManager.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/HConnectionManager.java?rev=736371&r1=736370&r2=736371&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/HConnectionManager.java (original)
+++ hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/HConnectionManager.java Wed
Jan 21 10:42:31 2009
@@ -445,7 +445,7 @@
           // second waits. The second thread will not do find.
           
           if (!useCache || rootRegionLocation == null) {
-            return locateRootRegion();
+            this.rootRegionLocation = locateRootRegion();
           }
           return rootRegionLocation;
         }        



Mime
View raw message