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

Slave should act on correction events from QoS controller

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.23.0
    • None

    Description

      Slave might want to kill revocable tasks based on correction events from the QoS controller.

      The QoS controller communicates corrections through a stream (or process::Queue) to the slave which corrections it needs to carry out, in order to mitigate interference with production tasks.

      The correction is communicated through a message:
      [code]
      message QoSCorrection {
      enum CorrectionType

      { KillExecutor = 1 // KillTask = 2 // Resize, throttle task }

      optional string reason = X;
      optional ExecutorID executor_id = X;
      // optional TaskID task_id = X;
      }
      [/code]

      And the slave will setup a handler to process these events. Initially, only executor termination is supported and cause the slave to issue 'containerizer->destroy()'.

      Attachments

        Issue Links

          Activity

            People

              nnielsen Niklas Quarfot Nielsen
              vinodkone Vinod Kone
              Jie Yu Jie Yu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: