@Override
  public void nodeCreated(String path) {
    if (path.equals(keysParentZNode)) {
      try {
        List<ZKUtil.NodeAndData> nodes =
          ZKUtil.getChildDataAndWatchForNewChildren(watcher, keysParentZNode);
        refreshNodes(nodes);
      } catch (KeeperException ke) {
        LOG.error(HBaseMarkers.FATAL, "Error reading data from zookeeper", ke);
        watcher.abort("Error reading new key znode " + path, ke);
      }
    }
  }
Synchronizes token encryption keys across cluster nodes.
hbase-server/src/main/java/org/apache/hadoop/hbase/security/token/ZKSecretWatcher.java