You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by of...@apache.org on 2016/01/07 09:50:42 UTC

[3/3] bigtop git commit: BIGTOP-2215: Enable autopurge in zookeeper

BIGTOP-2215: Enable autopurge in zookeeper


Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/27e0f2d0
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/27e0f2d0
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/27e0f2d0

Branch: refs/heads/master
Commit: 27e0f2d04ac0e13af9fd7badb9ebea1b4f69e4ef
Parents: 7007ed7
Author: Olaf Flebbe <of...@ofleb.be>
Authored: Wed Jan 6 12:00:33 2016 +0100
Committer: Olaf Flebbe <of...@ofleb.be>
Committed: Thu Jan 7 09:48:23 2016 +0100

----------------------------------------------------------------------
 bigtop-deploy/puppet/modules/hadoop_zookeeper/templates/zoo.cfg | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/27e0f2d0/bigtop-deploy/puppet/modules/hadoop_zookeeper/templates/zoo.cfg
----------------------------------------------------------------------
diff --git a/bigtop-deploy/puppet/modules/hadoop_zookeeper/templates/zoo.cfg b/bigtop-deploy/puppet/modules/hadoop_zookeeper/templates/zoo.cfg
index 426fe2a..69d98c4 100644
--- a/bigtop-deploy/puppet/modules/hadoop_zookeeper/templates/zoo.cfg
+++ b/bigtop-deploy/puppet/modules/hadoop_zookeeper/templates/zoo.cfg
@@ -29,6 +29,8 @@ clientPort=<%= @port %>
 <% @ensemble.each_with_index do |server,idx| %>
 server.<%= idx %>=<%= server %>
 <% end %>
+# purge snapshots every day
+autopurge.purgeInterval=24
 
 <% if @kerberos_realm != "" -%>
 authProvider.1=org.apache.zookeeper.server.auth.SASLAuthenticationProvider