You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ao...@apache.org on 2014/12/01 18:37:22 UTC
ambari git commit: AMBARI-8496. Configs: ZooKeeper data retention
(aonishuk)
Repository: ambari
Updated Branches:
refs/heads/trunk 1af3149e7 -> fd635e74c
AMBARI-8496. Configs: ZooKeeper data retention (aonishuk)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/fd635e74
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/fd635e74
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/fd635e74
Branch: refs/heads/trunk
Commit: fd635e74c2c555924c23ace7a462d34020242ed1
Parents: 1af3149
Author: Andrew Onishuk <ao...@hortonworks.com>
Authored: Mon Dec 1 19:37:14 2014 +0200
Committer: Andrew Onishuk <ao...@hortonworks.com>
Committed: Mon Dec 1 19:37:14 2014 +0200
----------------------------------------------------------------------
.../1.3.2/services/ZOOKEEPER/configuration/zoo.cfg.xml | 13 +++++++++++++
.../2.0.6/services/ZOOKEEPER/configuration/zoo.cfg.xml | 13 +++++++++++++
2 files changed, 26 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/fd635e74/ambari-server/src/main/resources/stacks/HDP/1.3.2/services/ZOOKEEPER/configuration/zoo.cfg.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/1.3.2/services/ZOOKEEPER/configuration/zoo.cfg.xml b/ambari-server/src/main/resources/stacks/HDP/1.3.2/services/ZOOKEEPER/configuration/zoo.cfg.xml
index 3449e41..12e2a00 100644
--- a/ambari-server/src/main/resources/stacks/HDP/1.3.2/services/ZOOKEEPER/configuration/zoo.cfg.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/1.3.2/services/ZOOKEEPER/configuration/zoo.cfg.xml
@@ -46,4 +46,17 @@
<value>/hadoop/zookeeper</value>
<description>Data directory for ZooKeeper.</description>
</property>
+ <property>
+ <name>autopurge.snapRetainCount</name>
+ <value>30</value>
+ <description>ZooKeeper purge feature retains the autopurge.snapRetainCount
+ most recent snapshots and the corresponding transaction
+ logs in the dataDir and dataLogDir respectively and deletes the rest. </description>
+ </property>
+ <property>
+ <name>autopurge.purgeInterval</name>
+ <value>24</value>
+ <description>The time interval in hours for which the purge task has to be triggered.
+ Set to a positive integer (1 and above) to enable the auto purging.</description>
+ </property>
</configuration>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/fd635e74/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/ZOOKEEPER/configuration/zoo.cfg.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/ZOOKEEPER/configuration/zoo.cfg.xml b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/ZOOKEEPER/configuration/zoo.cfg.xml
index 3449e41..12e2a00 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/ZOOKEEPER/configuration/zoo.cfg.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/ZOOKEEPER/configuration/zoo.cfg.xml
@@ -46,4 +46,17 @@
<value>/hadoop/zookeeper</value>
<description>Data directory for ZooKeeper.</description>
</property>
+ <property>
+ <name>autopurge.snapRetainCount</name>
+ <value>30</value>
+ <description>ZooKeeper purge feature retains the autopurge.snapRetainCount
+ most recent snapshots and the corresponding transaction
+ logs in the dataDir and dataLogDir respectively and deletes the rest. </description>
+ </property>
+ <property>
+ <name>autopurge.purgeInterval</name>
+ <value>24</value>
+ <description>The time interval in hours for which the purge task has to be triggered.
+ Set to a positive integer (1 and above) to enable the auto purging.</description>
+ </property>
</configuration>
\ No newline at end of file