This is an automated email from the ASF dual-hosted git repository.

elserj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/master by this push:
     new b2b7811  HBASE-22511 Add some more rs-status paths to RS UI links
b2b7811 is described below

commit b2b78119024f62db5161701ddbfb90648f492fc7
Author: Josh Elser <els...@apache.org>
AuthorDate: Thu May 30 16:36:17 2019 -0400

    HBASE-22511 Add some more rs-status paths to RS UI links
    
    Signed-off-by: Sean Busbey <bus...@apache.org>
---
 hbase-server/src/main/resources/hbase-webapps/master/table.jsp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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 50ff969..c9d58e5 100644
--- a/hbase-server/src/main/resources/hbase-webapps/master/table.jsp
+++ b/hbase-server/src/main/resources/hbase-webapps/master/table.jsp
@@ -500,7 +500,7 @@ if ( fqtn != null ) {
       ServerMetrics sl = master.getServerManager().getLoad(addr);
       // This port might be wrong if RS actually ended up using something else.
       urlRegionServer =
-          "//" + URLEncoder.encode(addr.getHostname()) + ":" + 
master.getRegionServerInfoPort(addr) + "/";
+          "//" + URLEncoder.encode(addr.getHostname()) + ":" + 
master.getRegionServerInfoPort(addr) + "/rs-status";
       if(sl != null) {
         Integer i = regDistribution.get(addr);
         if (null == i) i = Integer.valueOf(0);
@@ -574,7 +574,7 @@ if (withReplica) {
 <%
   for (Map.Entry<ServerName, Integer> rdEntry : regDistribution.entrySet()) {
      ServerName addr = rdEntry.getKey();
-     String url = "//" + URLEncoder.encode(addr.getHostname()) + ":" + 
master.getRegionServerInfoPort(addr) + "/";
+     String url = "//" + URLEncoder.encode(addr.getHostname()) + ":" + 
master.getRegionServerInfoPort(addr) + "/rs-status";
 %>
 <tr>
   <td><a href="<%= url %>"><%= 
StringEscapeUtils.escapeHtml4(addr.getHostname().toString()) + ":" + 
master.getRegionServerInfoPort(addr) %></a></td>

Reply via email to