|
|
-
Zookeeper connect to a wrong leader
Maru Panda 2012-11-21, 07:38
Hi guys
we have 1 zookeeper cluster On server A, there're 2 zookeepers, port: 2180 ( follower ) and 2181 ( leader ) another one is on server B, port 2181 ( follower )
now we built a new zookeeper cluster on server C there're 2 zookeepers, port: 2180 ( follower ) and 2181 ( leader ) put 2182 ( follower ) on server B
We found on server B, the new zookeeper 2182 always sync from 2181 which is on the same server
so, any ideas?
-
Re: Zookeeper connect to a wrong leader
Diego Oliveira 2012-11-21, 17:51
Maru,
Just one question, is this a production environment? I think it is not common to put two instances in the same server... On Wed, Nov 21, 2012 at 2:38 AM, Maru Panda <[EMAIL PROTECTED]> wrote:
> ideas -- Att. Diego de Oliveira [EMAIL PROTECTED] www.diegooliveira.com Never argue with a fool -- people might not be able to tell the difference
-
Re: Zookeeper connect to a wrong leader
Ted Dunning 2012-11-21, 22:22
Why do you say leader and follower? Normally all members of a quorum can take on any role.
On Tue, Nov 20, 2012 at 11:38 PM, Maru Panda <[EMAIL PROTECTED]> wrote:
> Hi guys > > we have 1 zookeeper cluster > On server A, there're 2 zookeepers, port: 2180 ( follower ) and 2181 ( > leader ) > another one is on server B, port 2181 ( follower ) > > now we built a new zookeeper cluster on server C > there're 2 zookeepers, port: 2180 ( follower ) and 2181 ( leader ) > put 2182 ( follower ) on server B > > We found on server B, the new zookeeper 2182 always sync from 2181 which is > on the same server > > so, any ideas? >
|
|
All projects made searchable here are trademarks of the Apache Software Foundation.
Service operated by
Sematext