Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
"A ZooKeeper server will not remove old snapshots and log files, this is the responsibility of the operator."
[1] http://hadoop.apache.org/zookeeper/docs/r3.1.1/zookeeperAdmin.html#sc_maintenance
The install script should also add a cron task as suggested:
java -cp zookeeper.jar:log4j.jar:conf org.apache.zookeeper.server.PurgeTxnLog <dataDir> <snapDir> -n <count>