From 8b53dd039646163f1c45035f527c45ad585e9863 Mon Sep 17 00:00:00 2001 From: Jim Kellerman Date: Wed, 21 Jan 2009 18:42:31 +0000 Subject: [PATCH] HBASE-1121 Cluster confused about where -ROOT- is. This patch fixes "re-finding" the root region. git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@736371 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES.txt | 1 + src/java/org/apache/hadoop/hbase/client/HConnectionManager.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.txt b/CHANGES.txt index 1770556fae5..7ae14a42862 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -9,6 +9,7 @@ Release 0.20.0 - Unreleased (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 diff --git a/src/java/org/apache/hadoop/hbase/client/HConnectionManager.java b/src/java/org/apache/hadoop/hbase/client/HConnectionManager.java index 1413de4f039..5fd1bca9a86 100644 --- a/src/java/org/apache/hadoop/hbase/client/HConnectionManager.java +++ b/src/java/org/apache/hadoop/hbase/client/HConnectionManager.java @@ -445,7 +445,7 @@ public class HConnectionManager implements HConstants { // second waits. The second thread will not do find. if (!useCache || rootRegionLocation == null) { - return locateRootRegion(); + this.rootRegionLocation = locateRootRegion(); } return rootRegionLocation; }