You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Anand Mazumdar (JIRA)" <ji...@apache.org> on 2016/03/24 02:01:32 UTC
[jira] [Created] (MESOS-5020) Drop `404 Not Found` and `307
Temporary Redirect` in the scheduler library.
Anand Mazumdar created MESOS-5020:
-------------------------------------
Summary: Drop `404 Not Found` and `307 Temporary Redirect` in the scheduler library.
Key: MESOS-5020
URL: https://issues.apache.org/jira/browse/MESOS-5020
Project: Mesos
Issue Type: Improvement
Reporter: Anand Mazumdar
Currently, the scheduler library does not drop {{404 Not Found}} but treats them as {{Event::ERROR}}. The library can receive this if the master has not yet set up HTTP routes yet. The executor library already deals with this.
Secondly, in some cases, the {{detector}} can detect a new master without the master realizing that has been elected as the new master. In such cases, the master responds with {{307 Temporary Redirect}}. We would like to drop these status codes too instead of treating them as {{Event::ERROR}} too.
https://github.com/apache/mesos/blob/master/src/scheduler/scheduler.cpp#L547
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)