@Override
  public void perform() throws Exception {
    getLogger().info("Performing action: Restart random zookeeper node");
    ServerName server =
      PolicyBasedChaosMonkey.selectRandomItem(ZKServerTool.readZKNodes(getConf()));
    restartZKNode(server, sleepTime);
  }
Action that restarts a random zookeeper node.
hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/RestartRandomZKNodeAction.java