code: public byte[] getData(ChronosClientWatcher chronosClientWatcher, String znode)
        throws IOException {
      byte[] data = null;
      for (int i = 0; i <= connectRetryTimes; i++) {
        try {
          data = chronosClientWatcher.getZooKeeper().getData(znode, null, null);
          break;
        } catch (Exception e) {
          LOG.info("Exceptioin to get data from ZooKeeper, retry " + i +" times");
          if (i == connectRetryTimes) {
            throw new IOException("Error when getting data from " + znode + " after retrying");
          }
        }
      }
      return data;
    }
docs: Get the data from znode.
  
  @param chronosClientWatcher the ZooKeeper watcher
  @param znode the znode you want to access
  @return the byte array of value in znode
  @throws IOException when error to access ZooKeeper