maoling commented on a change in pull request #865: zoo_sample.cfg: enable 
autopurge and change dataDir 
URL: https://github.com/apache/zookeeper/pull/865#discussion_r268193457
 
 

 ##########
 File path: conf/zoo_sample.cfg
 ##########
 @@ -1,28 +1,29 @@
 # The number of milliseconds of each tick
 tickTime=2000
-# The number of ticks that the initial 
+# The number of ticks that the initial
 # synchronization phase can take
 initLimit=10
-# The number of ticks that can pass between 
+# The number of ticks that can pass between
 # sending a request and getting an acknowledgement
 syncLimit=5
 # the directory where the snapshot is stored.
-# do not use /tmp for storage, /tmp here is just 
-# example sakes.
-dataDir=/tmp/zookeeper
+# do not use /tmp for storage!!!.
+dataDir=/var/lib/zookeeper/data
 
 Review comment:
   Look at an example from 
[kafka](https://github.com/apache/kafka/blob/trunk/config/server.properties#L60)
 which also use the `/tmp` as the default dir to store the logs

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to