zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jordan Zimmerman <jor...@jordanzimmerman.com>
Subject Re: zk config 3.4.6
Date Mon, 07 Dec 2015 16:32:47 GMT
It’s not possible. Prior to 3.5.x config changes require instance restarts. Once you restart
the leader instance the ensemble will be unavailable for a short period of time until a new
election.

-Jordan

> On Dec 7, 2015, at 11:31 AM, elastic search <elastic.l.k@gmail.com> wrote:
> 
> In zookeeper 3.4.6 how do i add and remove servers in zoo.cfg without
> affecting the cluster availability.
> 
> For example
> server.1=zoo1:2888:3888
> server.2=zoo2:2888:3888
> server.3=zoo3:2888:3888
> 
> Step 1  : Add 4th server in config
> server.1=zoo1:2888:3888
> server.2=zoo2:2888:3888
> server.3=zoo3:2888:3888
> server.4=zoo3:2888:3888
> 
> Step 2  : Remove 1st server in config
> server.2=zoo2:2888:3888
> server.3=zoo3:2888:3888
> server.4=zoo3:2888:3888
> 
> Up until the old servers have been replaced
> server.4=zoo2:2888:3888
> server.5=zoo3:2888:3888
> server.6=zoo3:2888:3888
> 
> As soon as the config change the servers become unusable . Please suggest


Mime
View raw message