Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-5020

Drop `404 Not Found` and `307 Temporary Redirect` in the scheduler library.

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0
    • Component/s: None
    • Labels:

      Description

      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 it 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

        Attachments

          Activity

            People

            • Assignee:
              yongtang Yong Tang
              Reporter:
              anandmazumdar Anand Mazumdar
              Shepherd:
              Vinod Kone
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: