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

Switch to Plain View
Zookeeper >> mail # user >> Running Zookeeper in 2 machines


+
erolagnab 2013-11-05, 04:38
Copy link to this message
-
Re: Running Zookeeper in 2 machines
You need a minimum of 3 ZK instances to have any redundancy, because when
an instance fails the remaining instances need to be able to form a quorum.
To do this, more than half of the instances need to be able to communicate
with each other.

You can certainly run multiple instances on a single host though if that's
what you want, you just need to modify the configuration so that the ports
don't conflict between instances.
cheers
On Tue, Nov 5, 2013 at 3:38 PM, erolagnab <[EMAIL PROTECTED]> wrote:

> Hi,
>
> Just wondering is it possible to run zookeeper in 2 machine so when one
> machine dies, zookeeper is still up?
> I've tried to run 3 zookeeper instances each machine but it doesn't work.
>
> Thanks,
>
> Ero
>
>
>
> --
> View this message in context:
> http://zookeeper-user.578899.n2.nabble.com/Running-Zookeeper-in-2-machines-tp7579232.html
> Sent from the zookeeper-user mailing list archive at Nabble.com.
>
+
erolagnab 2013-11-05, 05:42
+
Cameron McKenzie 2013-11-05, 05:46
+
erolagnab 2013-11-05, 07:05
+
Cameron McKenzie 2013-11-05, 20:44
+
Alexander Shraer 2013-11-05, 22:17
+
Cameron McKenzie 2013-11-05, 22:29
+
Alexander Shraer 2013-11-05, 22:42