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/06 23:19:45 UTC

[jira] Updated: (WHIRR-183) ZooKeeper Data Directory Cleanup

     [ https://issues.apache.org/jira/browse/WHIRR-183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom White updated WHIRR-183:
----------------------------

      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: 

{code}
java -cp zookeeper.jar:log4j.jar:conf org.apache.zookeeper.server.PurgeTxnLog <dataDir> <snapDir> -n <count>
{code}

  was:

"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}

    Fix Version/s:     (was: 0.3.0)

> 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
>
> "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.