diff --git a/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/BackupMasterStatusTmpl.jamon b/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/BackupMasterStatusTmpl.jamon
index 5a57aef0d44..4961de19dee 100644
--- a/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/BackupMasterStatusTmpl.jamon
+++ b/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/BackupMasterStatusTmpl.jamon
@@ -44,7 +44,7 @@ ServerName [] serverNames = masters.toArray(new ServerName[masters.size()]);
<%if (!master.isActiveMaster()) %>
<%if serverNames[0] != null %>
Master
- /master-status" target="_blank"><% serverNames[0].getHostname() %>
+ /master-status" target="_blank"><% serverNames[0].getHostname() %>
<%else>
Unable to parse master hostname.
%if>
@@ -62,7 +62,7 @@ ServerName [] serverNames = masters.toArray(new ServerName[masters.size()]);
for (ServerName serverName : serverNames) {
%java>
- /master-status" target="_blank"><% serverName.getHostname() %> |
+ /master-status" target="_blank"><% serverName.getHostname() %> |
<% serverName.getPort() %> |
<% new Date(serverName.getStartcode()) %> |
diff --git a/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/regionserver/RSStatusTmpl.jamon b/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/regionserver/RSStatusTmpl.jamon
index e0a6a41bf63..4371c12bc18 100644
--- a/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/regionserver/RSStatusTmpl.jamon
+++ b/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/regionserver/RSStatusTmpl.jamon
@@ -149,7 +149,7 @@ org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad;
<%else>
<%java>
String host = regionServer.getMasterAddressManager().getMasterAddress().getHostname() + ":" + masterInfoPort;
- String url = "http://" + host + "/";
+ String url = "//" + host + "/";
%java>
<% host %>
%if>
diff --git a/hbase-server/src/main/resources/hbase-webapps/master/table.jsp b/hbase-server/src/main/resources/hbase-webapps/master/table.jsp
index 0f5f36d0c2d..e0f5c6a5deb 100644
--- a/hbase-server/src/main/resources/hbase-webapps/master/table.jsp
+++ b/hbase-server/src/main/resources/hbase-webapps/master/table.jsp
@@ -200,7 +200,7 @@
HRegionInfo meta = HRegionInfo.FIRST_META_REGIONINFO;
ServerName metaLocation = master.getCatalogTracker().waitForMeta(1);
for (int i = 0; i < 1; i++) {
- String url = "http://" + metaLocation.getHostname() + ":" + infoPort + "/";
+ String url = "//" + metaLocation.getHostname() + ":" + infoPort + "/";
%>
<%= escapeXml(meta.getRegionNameAsString()) %> |
@@ -273,7 +273,7 @@
}
// This port might be wrong if RS actually ended up using something else.
urlRegionServer =
- "http://" + addr.getHostname().toString() + ":" + infoPort + "/";
+ addr.getHostname().toString() + ":" + infoPort;
Integer i = regDistribution.get(urlRegionServer);
if (null == i) i = Integer.valueOf(0);
regDistribution.put(urlRegionServer, i+1);
@@ -286,7 +286,7 @@
if (urlRegionServer != null) {
%>
- <%= addr.getHostname().toString() + ":" + infoPort %>
+ "><%= urlRegionServer %>
|
<%
} else {
@@ -307,7 +307,7 @@
for (Map.Entry rdEntry : regDistribution.entrySet()) {
%>
- <%= rdEntry.getKey()%> |
+ "><%= rdEntry.getKey()%> |
<%= rdEntry.getValue()%> |
<% } %>