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

Switch to Threaded View
Zookeeper >> mail # user >> Get list of server addresses


Copy link to this message
-
Re: Get list of server addresses
Hi,
On 17 December 2013 09:06, Siman, Aleksandr <[EMAIL PROTECTED]> wrote:

> Hello!
>
> How to get list of server addresses in runtime, the one that can be found
> in config file, like:
> server.1=localhost:2888:3888
> server.2=localhost:2889:3889
> server.3=localhost:2890:3890
>

What's the use-case? This is accessible via QuorumPeerConfig and I believe
it's also exposed under /zookeeper if you are using ZOOKEEPER-107.

-rgs