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

Support distinguishing revocable resources in the Resource protobuf.

    XMLWordPrintableJSON

Details

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

    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)
      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; 
         }
      
         optional Type type = 1;
        }
       ...
        optional RevocableInfo revocable = 9;
       }
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            hartem Artem Harutyunyan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: