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

The load qos controller should use only USAGE SLACK resources.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reviewable
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      The new added load qos controller should only get USAGE SLACK resources but not ALLOCATION SLACK resources.

      for (const ResourceUsage::Executor& executor : usage.executors()) {
              // Set kill correction for all revocable executors.
              if (!Resources(executor.allocated()).revocable().empty()) {
                QoSCorrection correction;
      
                correction.set_type(mesos::slave::QoSCorrection_Type_KILL);
                correction.mutable_kill()->mutable_framework_id()->CopyFrom(
                  executor.executor_info().framework_id());
                correction.mutable_kill()->mutable_executor_id()->CopyFrom(
                  executor.executor_info().executor_id());
      
                corrections.push_back(correction);
              }
            }
      

      Attachments

        Activity

          People

            gyliu Guangya Liu
            gyliu Guangya Liu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: