HBASE-14261 Enhance Chaos Monkey framework by adding zookeeper and datanode fault injections; ADDENDUM

This commit is contained in:
Srikanth Srungarapu 2015-09-04 14:01:15 -07:00
parent 6a8ba22c16
commit 2969093b5b
1 changed files with 2 additions and 1 deletions

View File

@ -58,7 +58,8 @@ public class ZKServerTool {
*/ */
public static void main(String args[]) { public static void main(String args[]) {
for(ServerName server: readZKNodes(HBaseConfiguration.create())) { for(ServerName server: readZKNodes(HBaseConfiguration.create())) {
System.out.println("Zk host: " + server.getHostname()); // bin/zookeeper.sh relies on the "ZK host" string for grepping which is case sensitive.
System.out.println("ZK host: " + server.getHostname());
} }
} }
} }