public static String getReplicationZnodesDump(ZKWatcher zkw) throws KeeperException {
    StringBuilder sb = new StringBuilder();
    getReplicationZnodesDump(zkw, sb);
    return sb.toString();
  }
Returns a string with replication znodes and position of the replication log
@param zkw reference to the {@link ZKWatcher} which also contains configuration and operation
@return aq string of replication znodes and log positions
hbase-zookeeper/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKDump.java