Backup ZooKeeper

  1. Stop Zookeeper service in Ambari UI.
  2. Back-up services data to restore later. For Zookeeper on every node.
    tar -czf backup.tar.gz /hadoop/zookeeper