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:20:07 GMT
Repository: hbase
Updated Branches:
  refs/heads/0.98 d6d9a64bc -> 52f0246d1


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/52f0246d
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/52f0246d
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/52f0246d

Branch: refs/heads/0.98
Commit: 52f0246d1366ddff3f45e79437661512ed911705
Parents: d6d9a64
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:18:27 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/52f0246d/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 f0f6ee7..a448ff0 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
@@ -81,14 +81,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