You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whirr.apache.org by "Tom White (JIRA)" <ji...@apache.org> on 2011/01/03 05:59:45 UTC
[jira] Commented: (WHIRR-183) ZooKeeper Data Directory Cleanup
[ https://issues.apache.org/jira/browse/WHIRR-183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12976611#action_12976611 ]
Tom White commented on WHIRR-183:
---------------------------------
Good idea. It would also be nice to have some long-running soak tests to test long-lived clusters, but that's another issue.
> 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.