From 22d9766aa7d805530592e00377dcc0f563e9eb86 Mon Sep 17 00:00:00 2001 From: Srikanth Srungarapu Date: Wed, 1 Apr 2015 23:18:27 -0700 Subject: [PATCH] HBASE-13091 Split ZK Quorum on Master WebUI (Jean-Marc Spaggiari) --- .../apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 ca3e1c001da..02bbbd5a89d 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 @@ -79,14 +79,13 @@ AssignmentManager assignmentManager = master.getAssignmentManager(); } for(int i = 0; i < zks.length; ++i) { - quorums.append(zks[i].trim()).append(","); + quorums.append(zks[i].trim()); - if ((i+1) % 4 == 0 && i != (zks.length - 1)) { + if (i != (zks.length - 1)) { quorums.append("
"); } } - quorums.setLength(quorums.length() - 1); return quorums.toString(); }