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

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


Copy link to this message
-
Starting a distributed env of ZK
Hi

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

Thanks!
+
Rakesh R 2013-09-12, 11:40
+
Sznajder ForMailingList 2013-09-12, 11:56
+
Chris Brinley 2013-09-12, 12:56
+
Sznajder ForMailingList 2013-09-12, 13:06