mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Avinash Sridharan <>
Subject Re: Sharing master detector to modules
Date Tue, 16 Jan 2018 19:22:57 GMT
Hi Zhitao,
 We actually do this in the `DC/OS` overlay modules we use in DC/OS. The
overlay modules run as Mesos modules both in the Master and the Agent. You
can see how we use the `MasterDetector` in the agent module: should have
more details of how the modules are actually used to build DC/OS overlay.

On Tue, Jan 16, 2018 at 10:20 AM, Zhitao Li <> wrote:

> Hi,
> Some of our future development work on our custom modules requires them to
> know the current leader of Mesos master. While it seems like we could
> duplicate the logic in master/slave side to duplicate an instance of
> `MasterDetector`, it seems more natural if we could figure out a clean way
> to share the existing detector instance in slave to the module.
> Any comment on this idea?
> Thanks.
> --
> Cheers,
> Zhitao Li

Avinash Sridharan, Mesosphere
+1 (323) 702 5245

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message