ZooKeeper Data Directory Cleanup
--------------------------------
Key: WHIRR-183
URL: https://issues.apache.org/jira/browse/WHIRR-183
Project: Whirr
Issue Type: Improvement
Components: service/zookeeper
Reporter: Andrei Savu
Fix For: 0.3.0
"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:
{code}
java -cp zookeeper.jar:log4j.jar:conf org.apache.zookeeper.server.PurgeTxnLog
<dataDir> <snapDir> -n <count>
{code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.