Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Zookeeper >> mail # user >> Starting a distributed env of ZK

Copy link to this message
Starting a distributed env of ZK

Two questions:

1 - In case of  distributed env of ZK, should I start ZK on each one of the
servers? Or only in the master?

2 - Is it OK to start the server via "bin/zkServer.sh start " or should I
use the long command line:
java -cp zookeeper.jar:lib/slf4j-api-1.6.1.jar:lib/
slf4j-log4j12-1.6.1.jar:lib/log4j-1.2.15.jar:conf \
org.apache.zookeeper.server.quorum.QuorumPeerMain zoo.cfg