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:17 UTC

[4/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/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/master
Commit: 88eac3ca18ef47cd7a4f0b037c609df2d7f6617b
Parents: ad47c2d
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 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>
 <%  } %>
 <%} %>