zkCleanup.sh not added to the crontab

Bug #1392421 reported by Samuel Cozannet
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
hdp-zookeeper (Juju Charms Collection)
Triaged
High
Charles Butler

Bug Description

By default, zookeeper does not do any cleanup of its logs and snapshots. As a consequence, the data occupied by those files grows and fills in the filesystem.

On Sentiment Analysis, this crashes the machine in less than 3 days because the FS goes to 0% free.

However, zookeeper ships with a cleanup script called zkCleanup.sh. The administration guide recommends (in a very strong way) to use that script in a crontab, and says it's good to keep 3 snapshots permanently.

Part of the installation process should therefore be to add:

0 0 * * * /usr/lib/zookeeper/bin/zkCleanup.sh -n 3

to the crontab of the system (this would cleanup logs and snapshots once a day, and keep the last 3 files).

This is a blocker for production deployment.

Related branches

Changed in hdp-zookeeper (Juju Charms Collection):
importance: Undecided → High
assignee: nobody → Charles Butler (lazypower)
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.