mesos-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zhitao Li <>
Subject Re: Get leading master from zookeeper
Date Tue, 06 Mar 2018 16:53:02 GMT
Mesos implemented the official ZK election recipe
so you should expect a list of ephemeral ZNones under your election path
(often `mesos` but up to your config).

The one with lowest suffix sequence number has the content of leader
address (in JSON format)

Hope this is useful.

On Mon, Mar 5, 2018 at 9:54 PM, Ajay V <> wrote:

> Hello,
> Is there a write up somewhere that I may have missed finding that talks
> about how to find the leading master given the zookeeper url? I can find
> that there are json.info_.. MasterInfo jsons available in zk, but how can I
> translate this to figure out the leading master at any given point in time?
> Regards,
> Ajay


Zhitao Li

View raw message