Or just pause the process until someone else takes over. 1. kill -STOP <zookeeper_pid> 2. // wait for election to happen 3. kill -CONT <zookeeper_pid>
This wont top it from becoming leader again. Also, client may migrate to other servers. -Ivan Alexander Shraer writes: > Hi, > > I don't think there's a direct way, although this seems a useful thing to > add. > > One think you could do is to issue a reconfig changing the leader's > leading/quorum port (through which > it talks with the followers). This will cause it to give up leadership > while keeping it in the cluster. > > Cheers, > Alex > > On Fri, Oct 10, 2014 at 5:57 AM, Jeff Potter < > [email protected]> wrote: > >> >> Hi, >> >> Is there a way to “retire” a leader while keeping it in the cluster? >> >> Thanks, >> Jeff
