public
Created

A setting file for ZooKeeper.

  • Download Gist
zoo.cfg
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
# The number of milliseconds of each tick
#tickTime=2000
tickTime=30000
# The number of ticks that the initial
# synchronization phase can take
initLimit=10000
# The number of ticks that can pass between
# sending a request and getting an acknowledgement
syncLimit=10000
# the directory where the snapshot is stored.
dataDir=/home/ozawa/var/zookeeper
# /mnt/zk : another HDD.
dataLogDir=/mnt/zk
 
# the port at which the clients will connect
clientPort=2181
maxClientCnxns=100000
preAllocSize=2048M
 
server.2=hd102:2888:3888
server.3=hd103:2888:3888
server.4=hd104:2888:3888
server.5=hd105:2888:3888
server.6=hd106:2888:3888
server.7=hd107:2888:3888
server.8=hd108:2888:3888

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.