|
@@ -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>
|