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

Switch to Plain View
Zookeeper >> mail # dev >> How to start multiple servers

Pulasthi Supun Wickramasi... 2012-06-24, 13:19
Copy link to this message
Re: How to start multiple servers
What are you trying to do? If you're just trying to start multiple nodes
for testing purposes, I recommend you glance at the source code for the ZK
tests themselves, which do this often.

If you're trying to set up nodes to run on separate machines, check out the

There's also a project by netflix called Exhibitor that might be helpful

We don't support automatic reconfiguration of the cluster at this time, so
you will need to write your own scripts that shut down and restart cluster
nodes if you want to add or remove nodes from a running cluster.


On Sun, Jun 24, 2012 at 9:19 AM, Pulasthi Supun Wickramasinghe <

> Hi Devs.
> I am very new to zookeeper. hope someone can answer this question
> very easily.
> I want to start multiple Zookeeper servers ( nodes ) through the java
> client. I understand that the package  org.apache.zookeeper.server.quorum
> provides ways to start a cluster of servers. But i am confused with the use
> of QuorumServer and QuorumPeer. I also want to be able to add or remove
> servers from the cluster when needed. it would be a great help if someone
>  could provide some resources to understand how
> "org.apache.zookeeper.server.quorum"
> is used.
> I am using Zookeeper 3.3.3
> Thanks
> --
> Pulasthi Supun
> Undergraduate
> Dpt of Computer Science & Engineering
> University of Moratuwa
> Blog : http://pulasthisupun.blogspot.com/
> Git hub profile:
> <http://pulasthisupun.blogspot.com/>https://github.com/pulasthi
> <https://github.com/pulasthi>
Pulasthi Supun Wickramasi... 2012-06-25, 05:38