3.8.1
" (choose a mirror site for your download):
http://zookeeper.apache.org/releases.htmlapache-zookeeper-3.8.1-bin.tar.gz
" in the folder you want to install ZooKeeper: /opt/apache-zookeeper-3.8.1-bin
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
"dataDir
" in the file "/opt/zookeeper/conf/zoo.cfg
": dataDir=/opt/zookeeper/data
dataLogDir
" in the file "/opt/zookeeper/conf/zoo.cfg
": dataLogDir=/opt/zookeeper/data-log
zoo.cfg
"clientPort
and clientPortAddress
configuration parameters should be part of the ZooKeeper instances configuration (see Installation - ZooKeeper Cluster)."%JAVA_HOME%"\bin\java.exe
in the file "%ZK_HOME%\bin\zkEnv.cmd
"%JAVA%
" in the file "%ZK_HOME%\bin\zkServer.cmd
"zoo.cfg
"/opt/zookeeper/conf/zoo.cfg
"start
" and "stop
" parameters:--config
" before the "start
" and "stop
" parameters: