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/88eac3ca Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/88eac3ca Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/88eac3ca Branch: refs/heads/HBASE-19064 Commit: 88eac3ca18ef47cd7a4f0b037c609df2d7f6617b Parents: ad47c2d 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 15:31:30 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/88eac3ca/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 e52f33a..a992cc3 100644 --- a/hbase-server/src/main/resources/hbase-webapps/master/table.jsp +++ b/hbase-server/src/main/resources/hbase-webapps/master/table.jsp @@ -245,6 +245,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> <% } %> <%} %>