Closed jakedavis closed 10 years ago
The ZooKeeper Data Directory contains files which are a persistent copy of the znodes stored by a particular serving ensemble. These are the snapshot and transactional log files. As changes are made to the znodes these changes are appended to a transaction log, occasionally, when a log grows large, a snapshot of the current state of all znodes will be written to the filesystem. This snapshot supercedes all previous logs.
+1 since basically the "Data Directory" is the name for all of zk's working data that gets flushed to disk.
This value is actually named zookeeper-data-directory.