[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-1107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13067962#comment-13067962
 ] 

[email protected] commented on ZOOKEEPER-1107:
----------------------------------------------------------



bq.  On 2011-07-07 23:40:32, Patrick Hunt wrote:
bq.  > The documentation (src/docs) need to be updated - specifically the 
cleanup section in the admin guide.
bq.  > 
bq.  > Have you considered hooking this into JMX or the 4letterwords? It would 
be nice for operators to get basic information. In JMX they could also control 
the settings... consider for a follow-on JIRA?
bq.  
bq.  Laxman Ch wrote:
bq.      Fixed the documentation part.
bq.      
bq.      @Pat: I guess I'm not clear about how "hooking into JMX or 4 
letter-words" will be helpful. Can you please explain this idea? I can takeup 
this task in separate JIRA.

both JMX and 4letterwords provide insight to the operator into the runtime 
status of the system
http://zookeeper.apache.org/doc/r3.3.3/zookeeperAdmin.html#sc_zkCommands
http://zookeeper.apache.org/doc/r3.3.3/zookeeperJMX.html

what I was suggesting is that you could allow such insight into the cleanup 
task - for example is the process running, when the last time it ran, a history 
of the files cleaned up and when, stop the task, restart, etc...


- Patrick


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/1043/#review998
-----------------------------------------------------------


On 2011-07-07 23:10:13, Patrick Hunt wrote:
bq.  
bq.  -----------------------------------------------------------
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/1043/
bq.  -----------------------------------------------------------
bq.  
bq.  (Updated 2011-07-07 23:10:13)
bq.  
bq.  
bq.  Review request for zookeeper, Patrick Hunt, Benjamin Reed, and Mahadev 
Konar.
bq.  
bq.  
bq.  Summary
bq.  -------
bq.  
bq.  I like to have ZK itself manage the amount of snapshots and logs kept, 
instead of relying on the PurgeTxnLog utility.
bq.  
bq.  
bq.  This addresses bug ZOOKEEPER-1107.
bq.      https://issues.apache.org/jira/browse/ZOOKEEPER-1107
bq.  
bq.  
bq.  Diffs
bq.  -----
bq.  
bq.    ./conf/zoo_sample.cfg 1141901 
bq.    ./src/java/main/org/apache/zookeeper/ZooKeeperPurger.java PRE-CREATION 
bq.    ./src/java/main/org/apache/zookeeper/server/quorum/QuorumPeerConfig.java 
1141901 
bq.    ./src/java/test/org/apache/zookeeper/ZooKeeperPurgeTest.java 
PRE-CREATION 
bq.  
bq.  Diff: https://reviews.apache.org/r/1043/diff
bq.  
bq.  
bq.  Testing
bq.  -------
bq.  
bq.  test added, passing hudson qa bot.
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  Patrick
bq.  
bq.



> automating log and snapshot cleaning
> ------------------------------------
>
>                 Key: ZOOKEEPER-1107
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1107
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: server
>    Affects Versions: 3.3.3
>            Reporter: Jun Rao
>            Assignee: Laxman
>         Attachments: ZOOKEEPER-1107.1.patch, ZOOKEEPER-1107.2.patch, 
> ZOOKEEPER-1107.3.patch, ZOOKEEPER-1107.4.patch, ZOOKEEPER-1107.patch
>
>
> I like to have ZK itself manage the amount of snapshots and logs kept,  
> instead of relying on the PurgeTxnLog utility.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to