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 <
[EMAIL PROTECTED]> wrote:
> 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
> is used.
> I am using Zookeeper 3.3.3
> Pulasthi Supun
> Dpt of Computer Science & Engineering
> University of Moratuwa
> Blog : http://pulasthisupun.blogspot.com/
> Git hub profile: