HBASE-3402 Web UI shows two META regions
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1055252 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8620d2c697
commit
c10721b8a8
|
@ -813,6 +813,7 @@ Release 0.90.0 - Unreleased
|
||||||
target/cached_classpath.txt
|
target/cached_classpath.txt
|
||||||
HBASE-3344 Master aborts after RPC to server that was shutting down
|
HBASE-3344 Master aborts after RPC to server that was shutting down
|
||||||
HBASE-3408 AssignmentManager NullPointerException
|
HBASE-3408 AssignmentManager NullPointerException
|
||||||
|
HBASE-3402 Web UI shows two META regions
|
||||||
|
|
||||||
|
|
||||||
IMPROVEMENTS
|
IMPROVEMENTS
|
||||||
|
|
|
@ -100,7 +100,7 @@
|
||||||
// NOTE: Presumes one meta region only.
|
// NOTE: Presumes one meta region only.
|
||||||
HRegionInfo meta = HRegionInfo.FIRST_META_REGIONINFO;
|
HRegionInfo meta = HRegionInfo.FIRST_META_REGIONINFO;
|
||||||
HServerAddress metaLocation = master.getCatalogTracker().getMetaLocation();
|
HServerAddress metaLocation = master.getCatalogTracker().getMetaLocation();
|
||||||
for (int i = 0; i <= 1; i++) {
|
for (int i = 0; i < 1; i++) {
|
||||||
int infoPort = master.getServerManager().getHServerInfo(metaLocation).getInfoPort();
|
int infoPort = master.getServerManager().getHServerInfo(metaLocation).getInfoPort();
|
||||||
String url = "http://" + metaLocation.getHostname() + ":" + infoPort + "/";
|
String url = "http://" + metaLocation.getHostname() + ":" + infoPort + "/";
|
||||||
%>
|
%>
|
||||||
|
|
Loading…
Reference in New Issue