From 20e2ac132e252c309b98d0fc79ced55b0d9f7e71 Mon Sep 17 00:00:00 2001 From: Sakthi Date: Thu, 19 Apr 2018 16:35:32 -0700 Subject: [PATCH] HBASE-20040 Fixed: Master UI should include "Cluster Key" needed to use the cluster as a replication sink Signed-off-by: Sean Busbey --- .../apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon b/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon index 3091e183bfe..ba34f31d9c5 100644 --- a/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon +++ b/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon @@ -331,6 +331,11 @@ AssignmentManager assignmentManager = master.getAssignmentManager(); <% master.getZooKeeper().getZNodePaths().baseZNode %> Root node of this cluster in ZK. + + Cluster Key + <% formatZKString() %>:<% master.getZooKeeper().getZNodePaths().baseZNode %> + Key to add this cluster as a peer for replication. Use 'help "add_peer"' in the shell for details. + HBase Root Directory <% FSUtils.getRootDir(master.getConfiguration()).toString() %>