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

Requesting /files/read.json with a negative length value causes subsequent /files requests to 404.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.23.0
    • 1.0.0
    • None
    • None
    • Mesos 0.23.0 on CentOS 6, also Mesos 0.28.0 on OSX

    Description

      I accidentally hit a slave's /files/read.json endpoint with a negative length (ex. http://hostname:5051/files/read.json?path=XXX&offset=0&length=-100). The HTTP request timed out after 30 seconds with nothing relevant in the slave logs, and subsequent calls to any of the /files endpoints on that slave immediately returned a HTTP 404 response. We ultimately got things working again by restarting the mesos-slave process (checkpointing FTW!), but it'd be wise to guard against negative lengths on the slave's end too.

      Attachments

        Activity

          People

            dongdong zhou xing
            tpetr Tom Petr
            Benjamin Mahler Benjamin Mahler
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: