HBASE-20261 Table page (table.jsp) in Master UI does not show replicaIds for hbase meta table
Signed-off-by: Josh Elser <els...@apache.org> Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/f2ebf893 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/f2ebf893 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/f2ebf893 Branch: refs/heads/branch-2.0 Commit: f2ebf8935dc01d0c88bb5578704b7c315bb74e57 Parents: 468cc05 Author: Toshihiro Suzuki <brfrn...@gmail.com> Authored: Fri Mar 23 12:37:09 2018 +0900 Committer: Josh Elser <els...@apache.org> Committed: Fri Mar 23 13:34:15 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/f2ebf893/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 d0a66f8..0056dcd 100644 --- a/hbase-server/src/main/resources/hbase-webapps/master/table.jsp +++ b/hbase-server/src/main/resources/hbase-webapps/master/table.jsp @@ -242,6 +242,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> <% } %> <%} %>