You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by el...@apache.org on 2018/03/23 19:32:16 UTC
[3/4] hbase git commit: HBASE-20261 Table page (table.jsp) in Master
UI does not show replicaIds for hbase meta table
HBASE-20261 Table page (table.jsp) in Master UI does not show replicaIds for hbase meta table
Signed-off-by: Josh Elser <el...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/caf4c4b4
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/caf4c4b4
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/caf4c4b4
Branch: refs/heads/branch-1
Commit: caf4c4b4eecd3a88052dab76e1a09f0c1bb49b75
Parents: 9224cea
Author: Toshihiro Suzuki <br...@gmail.com>
Authored: Fri Mar 23 12:37:09 2018 +0900
Committer: Josh Elser <el...@apache.org>
Committed: Fri Mar 23 13:34:45 2018 -0400
----------------------------------------------------------------------
.../src/main/resources/hbase-webapps/master/table.jsp | 7 +++++++
1 file changed, 7 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/caf4c4b4/hbase-server/src/main/resources/hbase-webapps/master/table.jsp
----------------------------------------------------------------------
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 86a5a76..5fa068c 100644
--- a/hbase-server/src/main/resources/hbase-webapps/master/table.jsp
+++ b/hbase-server/src/main/resources/hbase-webapps/master/table.jsp
@@ -269,6 +269,13 @@ if ( fqtn != null ) {
<td><%= locality%></td>
<td><%= escapeXml(Bytes.toString(meta.getStartKey())) %></td>
<td><%= escapeXml(Bytes.toString(meta.getEndKey())) %></td>
+<%
+ if (withReplica) {
+%>
+ <td><%= meta.getReplicaId() %></td>
+<%
+ }
+%>
</tr>
<% } %>
<%} %>