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

Scheduler HTTP API does not redirect to leading master

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.24.0, 0.24.1, 0.25.0
    • 0.27.0
    • HTTP API

    Description

      The documentation for the Scheduler HTTP API says:

      If requests are made to a non-leading master a “HTTP 307 Temporary Redirect” will be received with the “Location” header pointing to the leading master.

      While the redirect functionality has been implemented, it was not actually used in the handler for the HTTP api.

      A probable fix could be:

      • Check if the current master is the leading master.
      • If not, invoke the existing redirect method in src/master/http.cpp

      Attachments

        Issue Links

          Activity

            People

              drexin Dario Rexin
              drexin Dario Rexin
              Vinod Kone Vinod Kone
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: