HBASE-21419 Show sync replication related field for replication peer on master web UI

Signed-off-by: Duo Zhang <zhangduo@apache.org>
This commit is contained in:
jingyuntian 2018-11-08 10:19:44 +08:00 committed by Duo Zhang
parent 468c1e77bf
commit cf9b515563
1 changed files with 4 additions and 0 deletions

View File

@ -625,6 +625,8 @@ AssignmentManager assignmentManager = master.getAssignmentManager();
<th>Cluster Key</th>
<th>State</th>
<th>IsSerial</th>
<th>Remote WAL</th>
<th>Sync Replication State</th>
<th>Bandwidth</th>
<th>ReplicateAll</th>
<th>Namespaces</th>
@ -643,6 +645,8 @@ AssignmentManager assignmentManager = master.getAssignmentManager();
<td><% peerConfig.getClusterKey() %></td>
<td><% peer.isEnabled() ? "ENABLED" : "DISABLED" %></td>
<td><% peerConfig.isSerial() %></td>
<td><% peerConfig.getRemoteWALDir() == null ? "" : peerConfig.getRemoteWALDir() %>
<td><% peer.getSyncReplicationState() %>
<td><% peerConfig.getBandwidth() == 0? "UNLIMITED" : StringUtils.humanReadableInt(peerConfig.getBandwidth()) %></td>
<td><% peerConfig.replicateAllUserTables() %></td>
<td>