hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ssrungar...@apache.org
Subject hbase git commit: HBASE-13091 Split ZK Quorum on Master WebUI (Jean-Marc Spaggiari)
Date Thu, 02 Apr 2015 06:21:04 GMT
Repository: hbase
Updated Branches:
  refs/heads/master d3ed23ecf -> 22d9766aa


HBASE-13091 Split ZK Quorum on Master WebUI (Jean-Marc Spaggiari)


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/22d9766a
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/22d9766a
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/22d9766a

Branch: refs/heads/master
Commit: 22d9766aa7d805530592e00377dcc0f563e9eb86
Parents: d3ed23e
Author: Srikanth Srungarapu <ssrungarapu@cloudera.com>
Authored: Wed Apr 1 23:18:27 2015 -0700
Committer: Srikanth Srungarapu <ssrungarapu@cloudera.com>
Committed: Wed Apr 1 23:20:42 2015 -0700

----------------------------------------------------------------------
 .../org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon  | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/22d9766a/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon
----------------------------------------------------------------------
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 ca3e1c0..02bbbd5 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("<br/>");
       }
     }
 
-    quorums.setLength(quorums.length() - 1);
     return quorums.toString();
   }
 </%class>


Mime
View raw message