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

Klaus Ma updated MESOS-3888:
----------------------------
    Description: 
Add enum type into RevocableInfo: 

* Framework need to assign RevocableInfo when launching task; if it’s not 
assign, use reserved resources. Framework need to identify which resources it’s 
using
* Oversubscription resources need to assign the type by Agent (MESOS-3930)
* Update Oversubscription document that OO has over-subscribe the Allocation 
Slack and recommend QoS to handle the usage slack only. (MESOS-3889)

{code}
message Resource {
  ...
  message RevocableInfo {
   enum Type {
     // Under-utilized, allocated resources.  Controlled by
     // oversubscription (QoSController & ResourceEstimator).
     USAGE_SLACK = 1;

     // Unallocated, reserved resources.
     // Controlled by optimistic offers (Allocator).
     ALLOCATION_SLACK = 2; 
   }

   required Type type = 1;
  }
 ...
  optional RevocableInfo revocable = 9;
 }
{code}


  was:We need to distinguish revocable resource for usage slack and allocation 
slack.


> Support distinguishing revocable resources in the Resource protobuf.
> --------------------------------------------------------------------
>
>                 Key: MESOS-3888
>                 URL: https://issues.apache.org/jira/browse/MESOS-3888
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Artem Harutyunyan
>            Assignee: Klaus Ma
>              Labels: mesosphere
>
> Add enum type into RevocableInfo: 
> * Framework need to assign RevocableInfo when launching task; if it’s not 
> assign, use reserved resources. Framework need to identify which resources 
> it’s using
> * Oversubscription resources need to assign the type by Agent (MESOS-3930)
> * Update Oversubscription document that OO has over-subscribe the Allocation 
> Slack and recommend QoS to handle the usage slack only. (MESOS-3889)
> {code}
> message Resource {
>   ...
>   message RevocableInfo {
>    enum Type {
>      // Under-utilized, allocated resources.  Controlled by
>      // oversubscription (QoSController & ResourceEstimator).
>      USAGE_SLACK = 1;
>      // Unallocated, reserved resources.
>      // Controlled by optimistic offers (Allocator).
>      ALLOCATION_SLACK = 2; 
>    }
>    required Type type = 1;
>   }
>  ...
>   optional RevocableInfo revocable = 9;
>  }
> {code}



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

Reply via email to