[
https://issues.apache.org/jira/browse/WHIRR-183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12988908#comment-12988908
]
Andrei Savu commented on WHIRR-183:
-----------------------------------
Tom, I can't commit this because the S3 script bucket needs to be updated.
> 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
> Assignee: Andrei Savu
> Fix For: 0.4.0
>
> Attachments: WHIRR-183.patch
>
>
> "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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira