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:
Michael Stack 2011-01-05 00:45:33 +00:00
parent 8620d2c697
commit c10721b8a8
2 changed files with 2 additions and 1 deletions

View File

@ -813,6 +813,7 @@ Release 0.90.0 - Unreleased
target/cached_classpath.txt
HBASE-3344 Master aborts after RPC to server that was shutting down
HBASE-3408 AssignmentManager NullPointerException
HBASE-3402 Web UI shows two META regions
IMPROVEMENTS

View File

@ -100,7 +100,7 @@
// NOTE: Presumes one meta region only.
HRegionInfo meta = HRegionInfo.FIRST_META_REGIONINFO;
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();
String url = "http://" + metaLocation.getHostname() + ":" + infoPort + "/";
%>