hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject svn commit: r1558239 - /hbase/branches/0.98/hbase-server/src/main/resources/hbase-webapps/master/table.jsp
Date Tue, 14 Jan 2014 23:21:38 GMT
Author: enis
Date: Tue Jan 14 23:21:38 2014
New Revision: 1558239

URL: http://svn.apache.org/r1558239
Log:
HBASE-10334 RegionServer links in table.jsp is broken

Modified:
    hbase/branches/0.98/hbase-server/src/main/resources/hbase-webapps/master/table.jsp

Modified: hbase/branches/0.98/hbase-server/src/main/resources/hbase-webapps/master/table.jsp
URL: http://svn.apache.org/viewvc/hbase/branches/0.98/hbase-server/src/main/resources/hbase-webapps/master/table.jsp?rev=1558239&r1=1558238&r2=1558239&view=diff
==============================================================================
--- hbase/branches/0.98/hbase-server/src/main/resources/hbase-webapps/master/table.jsp (original)
+++ hbase/branches/0.98/hbase-server/src/main/resources/hbase-webapps/master/table.jsp Tue
Jan 14 23:21:38 2014
@@ -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>



Mime
View raw message