HBASE-20261 Table page (table.jsp) in Master UI does not show replicaIds for hbase meta table
Signed-off-by: Josh Elser <[email protected]> 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 <[email protected]> Authored: Fri Mar 23 12:37:09 2018 +0900 Committer: Josh Elser <[email protected]> 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> <% } %> <%} %>
