3.9.3
":
http://zookeeper.apache.org/releases.htmlzkhost1
", "zkhost2
", and "zkhost3
"apache-zookeeper-3.9.3-bin.tar.gz
" in the folder you want to install ZooKeeper:zkhost1
", "zkhost2
", and "zkhost3
"), do the following:data
": "/opt/zookeeper/data
"data-log
": "/opt/zookeeper/data-log
"/opt/zookeeper/logs
"/opt/zookeeper/conf/zoo_sample.cfg
" to "/opt/zookeeper/conf/zoo.cfg
"zkhost1
"):zkhost2
"):zkhost3
"):conf/zoo.cfg
":dataDir
": dataDir=/opt/zookeeper/data
dataLogDir
": dataLogDir=/opt/zookeeper/data-log
clientPort
" and "clientPortAddress
".conf/zoo.cfg
" file.
They should be part of the ZooKeeper instances configuration (see above).zoo.cfg
" (/opt/zookeeper/conf/zoo.cfg
)