HBASE-10334 RegionServer links in table.jsp is broken

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1558238 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Enis Soztutar 2014-01-14 23:21:12 +00:00
parent 405b51a0eb
commit 971080fbdb
1 changed files with 2 additions and 2 deletions

View File

@ -278,7 +278,7 @@
<td><%= escapeXml(Bytes.toStringBinary(regionInfo.getRegionName())) %></td>
<%
if (addr != null) {
String url = addr.getHostname() + ":" + master.getRegionServerInfoPort(addr) + "/";
String url = "//" + addr.getHostname() + ":" + master.getRegionServerInfoPort(addr) + "/";
%>
<td>
<a href="<%= url %>"><%= addr.getHostname().toString() + ":" + addr.getPort() %></a>
@ -301,7 +301,7 @@
<%
for (Map.Entry<ServerName, Integer> rdEntry : regDistribution.entrySet()) {
ServerName addr = rdEntry.getKey();
String url = addr.getHostname() + ":" + master.getRegionServerInfoPort(addr) + "/";
String url = "//" + addr.getHostname() + ":" + master.getRegionServerInfoPort(addr) + "/";
%>
<tr>
<td><a href="<%= url %>"><%= addr.getHostname().toString() + ":" + addr.getPort() %></a></td>