HBASE-14261 Enhance Chaos Monkey framework by adding zookeeper and datanode fault injections; ADDENDUM
This commit is contained in:
parent
6a8ba22c16
commit
2969093b5b
|
@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue