public void close() {
    try {
      zkClient.close();
    } catch (ZkInterruptedException e) {
      LOG.warn("Interrupted when closing zkClient. Clearing the interrupted status and retrying.", e);
      Thread.interrupted();
      zkClient.close();
      Thread.currentThread().interrupt();
    }
  }
Method is used to get the <i>sorted</i> list of processors ids for a given list of znodes
@param znodeIds - list of relative paths of the children's znodes
@return List of processor ids for a given list of znodes
samza-core/src/main/java/org/apache/samza/zk/ZkUtils.java