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
This commit is contained in:
parent
8bd2b4d7bd
commit
8b53dd0396
|
@ -9,6 +9,7 @@ Release 0.20.0 - Unreleased
|
||||||
(Jonathan Ellis via Stack)
|
(Jonathan Ellis via Stack)
|
||||||
HBASE-1138 Test that readers opened after a sync can see all data up to the
|
HBASE-1138 Test that readers opened after a sync can see all data up to the
|
||||||
sync (temporary until HADOOP-4379 is resolved)
|
sync (temporary until HADOOP-4379 is resolved)
|
||||||
|
HBASE-1121 Cluster confused about where -ROOT- is
|
||||||
|
|
||||||
IMPROVEMENTS
|
IMPROVEMENTS
|
||||||
HBASE-1089 Add count of regions on filesystem to master UI; add percentage
|
HBASE-1089 Add count of regions on filesystem to master UI; add percentage
|
||||||
|
|
|
@ -445,7 +445,7 @@ public class HConnectionManager implements HConstants {
|
||||||
// second waits. The second thread will not do find.
|
// second waits. The second thread will not do find.
|
||||||
|
|
||||||
if (!useCache || rootRegionLocation == null) {
|
if (!useCache || rootRegionLocation == null) {
|
||||||
return locateRootRegion();
|
this.rootRegionLocation = locateRootRegion();
|
||||||
}
|
}
|
||||||
return rootRegionLocation;
|
return rootRegionLocation;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue