private void disable(ZKWatcher zooKeeper, byte[] table) throws KeeperException {
    // ensure the latest state of the archive node is found
    zooKeeper.syncOrTimeout(archiveZnode);

    // if the top-level archive node is gone, then we are done
    if (ZKUtil.checkExists(zooKeeper, archiveZnode) < 0) {
      return;
    }
    // delete the table node, from the archive
    String tableNode = this.getTableNode(table);
    // make sure the table is the latest version so the delete takes
    zooKeeper.syncOrTimeout(tableNode);

    LOG.debug("Attempting to delete table node:" + tableNode);
    ZKUtil.deleteNodeRecursively(zooKeeper, tableNode);
  }
Disable all archiving of files for a given table
<p>
Inherently an <b>asynchronous operation</b>.
@param zooKeeper watcher for the ZK cluster
@param table     name of the table to disable
@throws KeeperException if an unexpected ZK connection issues occurs
hbase-server/src/main/java/org/apache/hadoop/hbase/backup/example/HFileArchiveManager.java