[ 
https://issues.apache.org/jira/browse/MESOS-4322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joris Van Remoortere updated MESOS-4322:
----------------------------------------
    Shepherd:   (was: Joris Van Remoortere)

> The load qos controller should use only USAGE SLACK resources.
> --------------------------------------------------------------
>
>                 Key: MESOS-4322
>                 URL: https://issues.apache.org/jira/browse/MESOS-4322
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Guangya Liu
>            Assignee: Guangya Liu
>
> The new added load qos controller should only get USAGE SLACK resources but 
> not ALLOCATION SLACK resources.
> {code}
> 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);
>         }
>       }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to