HBASE-21554 Show replication endpoint classname for replication peer on master 
web UI


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/7b5b99e2
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/7b5b99e2
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/7b5b99e2

Branch: refs/heads/branch-2
Commit: 7b5b99e243f11bfe8289a6b0a521d3e4be12a6ad
Parents: 868821f
Author: Guanghao Zhang <zg...@apache.org>
Authored: Fri Dec 7 13:39:31 2018 +0800
Committer: Guanghao Zhang <zg...@apache.org>
Committed: Fri Dec 7 16:57:52 2018 +0800

----------------------------------------------------------------------
 .../org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon     | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/7b5b99e2/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon
----------------------------------------------------------------------
diff --git 
a/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon
 
b/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon
index 87e07b3..af8c398 100644
--- 
a/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon
+++ 
b/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon
@@ -623,6 +623,7 @@ AssignmentManager assignmentManager = 
master.getAssignmentManager();
     <tr>
         <th>Peer Id</th>
         <th>Cluster Key</th>
+        <th>Endpoint</th>
         <th>State</th>
         <th>IsSerial</th>
         <th>Bandwidth</th>
@@ -641,6 +642,7 @@ AssignmentManager assignmentManager = 
master.getAssignmentManager();
     <tr>
         <td><% peerId %></td>
         <td><% peerConfig.getClusterKey() %></td>
+        <td><% peerConfig.getReplicationEndpointImpl() %></td>
         <td><% peer.isEnabled() ? "ENABLED" : "DISABLED" %></td>
         <td><% peerConfig.isSerial() %></td>
         <td><% peerConfig.getBandwidth() == 0? "UNLIMITED" : 
StringUtils.humanReadableInt(peerConfig.getBandwidth()) %></td>

Reply via email to