Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Zookeeper >> mail # user >> Automatic cleanup of data directory

Copy link to this message
Automatic cleanup of data directory

According to:


"A ZooKeeper server will not remove old snapshots and log files, this is
the responsibility of the operator."

I know this is done for a reason. But should we also have ability to
configure automatic cleanups (say leave not more than 3 backups, do cleanup
every 24 hours) in zk? Having extra cron, etc. scripts makes it more
complex to operate, one could even say that if you leave alone ZK server,
it will fail sooner or later because it will eat up all disk space...

Is there probably a JIRA issue which addresses this? If not, do you think
we should create one?

Thank you,

Alex Baranau
Sematext :: http://blog.sematext.com/ :: Hadoop - HBase - ElasticSearch -
Patrick Hunt 2012-12-18, 06:38
Alex Baranau 2012-12-18, 17:15