HBASE-6347 -ROOT- and .META. are stale in table.jsp if they moved

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1452544 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
larsh 2013-03-04 21:45:26 +00:00
parent f28621da9b
commit d17d84ed77
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,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;
ServerName metaLocation = master.getCatalogTracker().getMetaLocation(); ServerName metaLocation = master.getCatalogTracker().waitForMeta(1);
for (int i = 0; i < 1; i++) { for (int i = 0; i < 1; i++) {
String url = "http://" + metaLocation.getHostname() + ":" + infoPort + "/"; String url = "http://" + metaLocation.getHostname() + ":" + infoPort + "/";
%> %>