void logZKTree(String root) {
    if (!LOG.isDebugEnabled()) return;
    LOG.debug("Current zk system:");
    String prefix = "|-";
    LOG.debug(prefix + root);
    try {
      logZKTree(root, prefix);
    } catch (KeeperException e) {
      throw new RuntimeException(e);
    }
  }
Recursively print the current state of ZK (non-transactional)
@param root name of the root directory in zk to print
hbase-server/src/main/java/org/apache/hadoop/hbase/procedure/ZKProcedureUtil.java