Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 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
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB