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

This commit is contained in:
Srikanth Srungarapu 2015-04-01 23:18:27 -07:00
parent d3ed23ecf4
commit 22d9766aa7
1 changed files with 2 additions and 3 deletions

View File

@ -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>