You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whirr.apache.org by "Andrei Savu (JIRA)" <ji...@apache.org> on 2010/12/30 23:23:45 UTC
[jira] Created: (WHIRR-183) ZooKeeper Data Directory Cleanup
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.
[jira] Updated: (WHIRR-183) ZooKeeper Data Directory Cleanup
Posted by "Andrei Savu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WHIRR-183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrei Savu updated WHIRR-183:
------------------------------
Fix Version/s: 0.4.0
Status: Patch Available (was: Open)
> 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.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WHIRR-183) ZooKeeper Data Directory Cleanup
Posted by "Tom White (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Assigned: (WHIRR-183) ZooKeeper Data Directory Cleanup
Posted by "Andrei Savu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WHIRR-183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrei Savu reassigned WHIRR-183:
---------------------------------
Assignee: Andrei Savu
> 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
> 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.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WHIRR-183) ZooKeeper Data Directory Cleanup
Posted by "Tom White (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WHIRR-183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12988905#comment-12988905 ]
Tom White commented on WHIRR-183:
---------------------------------
+1
> 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
[jira] Commented: (WHIRR-183) ZooKeeper Data Directory Cleanup
Posted by "Andrei Savu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WHIRR-183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12988896#comment-12988896 ]
Andrei Savu commented on WHIRR-183:
-----------------------------------
I have tested this on EC2. The cron task is added as expected and it works.
> 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
[jira] Updated: (WHIRR-183) ZooKeeper Data Directory Cleanup
Posted by "Andrei Savu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WHIRR-183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrei Savu updated WHIRR-183:
------------------------------
Attachment: WHIRR-183.patch
tested on a local virtual machine.
> 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
> 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.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WHIRR-183) ZooKeeper Data Directory Cleanup
Posted by "Tom White (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (WHIRR-183) ZooKeeper Data Directory Cleanup
Posted by "Tom White (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WHIRR-183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tom White updated WHIRR-183:
----------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
I've just committed this and updated the bucket. Thanks Andrei!
> 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
[jira] Commented: (WHIRR-183) ZooKeeper Data Directory Cleanup
Posted by "Andrei Savu (JIRA)" <ji...@apache.org>.
[ 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