In this release, the Cluster Coordinator has been updated to
automatically clean up its logs.
The cleanup is enabled by default. For the logs cleanup, Endeca Server
uses two new parameters in
EndecaServer.properties to control how many
snapshots of logs ZooKeeper should keep in the data directory, and how often
ZooKeeper should run an automatic log cleanup:
- The
endeca-cluster-coordinator-auto-purge-snap-retain-count
sets the number of snapshot logs to retain in the ZooKeeper data directory, and
is set to 3 by default.
- The
endeca-cluster-coordinator-auto-purge-interval sets
the logs cleaning task interval in hours, and is set to 1 by default. To
disable the automatic logs cleanup for ZooKeeper, set it to 0 (zero).