public void setStatusOfTaskZNode(String taskZNode, String status) {
    LOG.info("Setting status of Task ZNode: " + taskZNode + " status : " + status);
    zk.setData(taskZNode, status.getBytes(StandardCharsets.UTF_8), -1, setStatusOfTaskZNodeCallback,
      null);
  }
sets given Status for Task Znode
@param taskZNode ZNode to set status
@param status    Status value
hbase-it/src/main/java/org/apache/hadoop/hbase/chaos/ChaosAgent.java