mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zameer Manji <zma...@apache.org>
Subject Re: Disallowing pre-1.0 Mesos agents
Date Fri, 20 Jan 2017 19:02:29 GMT
+1



On Fri, Jan 20, 2017 at 10:58 AM, Neil Conway <neil.conway@gmail.com> wrote:

> I'd like to propose that the Mesos 1.3.0 should not allow pre-1.0
> Mesos agents to register.
>
> Motivation:
>
> (1) We can simplify the master code in a few places. For example, we
> can assume that we always have a FrameworkInfo for any task running on
> a registered agent. Needing to handle running tasks without a
> FrameworkInfo makes the code unreadable and has been a source of bugs.
>
> (2) The master only needs to report "orphan tasks" and "unregistered
> frameworks" if the cluster contains pre-1.0 agents. If we disallow
> such agents, we can remove the code for computing these fields in the
> HTTP endpoints and elsewhere. (We'll probably still need to keep the
> actual fields in the JSON/protobuf output for backward compatibility,
> but they will always be empty.) We can also remove "orphan tasks" from
> the web UI.
>
> In addition to declaring that Mesos 1.3.0 masters will not support
> pre-1.0 Mesos agents in the CHANGELOG, it seems safer to me to
> disallow such agents from registering.
>
> Comments welcome.
>
> Thanks,
> Neil
>
> --
> Zameer Manji
>

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