What Is Zookeeper Snapshot

The ZooKeeper Data Directory contains snapshot and transactional log files which are persistent copy of the znodes stored by an ensemble. Any changes to znodes are appended to transaction log and when the log file size increases, a snapshot of the current state of znodes is written to the filesystem.

What is ZooKeeper used for?

What is ZooKeeper? ZooKeeper is a centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services. All of these kinds of services are used in some form or another by distributed applications.

How do I delete ZooKeeper snapshots?

  1. Stop Zookeeper.
  2. Go to the bin folder of your Zookeeper.
  3. Run ./zkCli.sh.
  4. Use ls / to check Zookeeper’s content.
  5. Identify what you want to delete with the exact path.
  6. Delete /znode or path of what you want to delete.
Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article
Twitter Facebook Pinterest