mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anand Mazumdar (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MESOS-5181) Master should reject calls from the scheduler driver if the scheduler is not connected.
Date Fri, 15 Apr 2016 23:01:25 GMT

     [ https://issues.apache.org/jira/browse/MESOS-5181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Anand Mazumdar updated MESOS-5181:
----------------------------------
    Sprint:   (was: Mesosphere Sprint 33)

> Master should reject calls from the scheduler driver if the scheduler is not connected.
> ---------------------------------------------------------------------------------------
>
>                 Key: MESOS-5181
>                 URL: https://issues.apache.org/jira/browse/MESOS-5181
>             Project: Mesos
>          Issue Type: Bug
>          Components: scheduler driver
>    Affects Versions: 0.24.0
>            Reporter: Joseph Wu
>            Assignee: Anand Mazumdar
>              Labels: mesosphere
>
> When a scheduler registers, the master will create a link from master to scheduler. 
If this link breaks, the master will consider the scheduler {{inactive}} and mark it as {{disconnected}}.
> This causes a couple problems:
> 1) Master does not send offers to {{inactive}} schedulers.  But these schedulers might
consider themselves "registered" in a one-way network partition scenario.
> 2) Any calls from the {{inactive}} scheduler is still accepted, which leaves the scheduler
in a starved, but semi-functional state.
> See the related issue for more context: MESOS-5180
> There should be an additional guard for registered, but {{inactive}} schedulers here:
> https://github.com/apache/mesos/blob/94f4f4ebb7d491ec6da1473b619600332981dd8e/src/master/master.cpp#L1977
> The HTTP API already does this:
> https://github.com/apache/mesos/blob/94f4f4ebb7d491ec6da1473b619600332981dd8e/src/master/http.cpp#L459
> Since the scheduler driver cannot return a 403, it may be necessary to return a {{Event::ERROR}}
and force the scheduler to abort.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message