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

Joseph Wu updated MESOS-2061:
-----------------------------
    Description: 
InverseOffer was defined as part of the maintenance work in MESOS-1474, design 
doc here: 
https://docs.google.com/document/d/16k0lVwpSGVOyxPSyXKmGC-gbNmRlisNEe4p-fAUSojk/edit?usp=sharing

{code}
/**
 * A request to return some resources occupied by a framework.
 */
message InverseOffer {
  required OfferID id = 1;
  required FrameworkID framework_id = 2;

  // A list of resources being requested back from the framework.
  repeated Resource resources = 3;

  // Specified if the resources need to be released from a particular slave.
  optional SlaveID slave_id = 4;

  // The resources in this InverseOffer are part of a planned maintenance
  // schedule in the specified window.  Any tasks running using these
  // resources may be killed when the window arrives.
  optional Interval unavailability = 5;
}
{code}

This ticket is to capture the addition of the InverseOffer protobuf to 
mesos.proto, the necessary API changes for Event/Call and the language bindings 
will be tracked separately.

  was:
InverseOffer was defined as part of the maintenance work in MESOS-1474, design 
doc here: 
https://docs.google.com/document/d/16k0lVwpSGVOyxPSyXKmGC-gbNmRlisNEe4p-fAUSojk/edit?usp=sharing

{code}
// A request to "deallocate" or "return" any resources already
// being consumed by the framework.
message InverseOffer {
  required OfferID id = 1;
  required FrameworkID framework_id = 2;
  repeated Resource resources = 3;
 
  // The slave ID if the resources need to be released on a particular slave.
  optional SlaveID slave_id = 4;
  
  // The executor and task IDs if the resources need to be released on specific
  // executors and/or tasks.
  optional ExecutorID executor_id = 6;
  repeated TaskID task_ids = 6;
 
  // The resources specified in this offer will become unavailable
  // at the specified start time and for the specified duration. Any
  // tasks running using these resources might get killed when
  // these resources become unavailable.
  required Unavailability unavailability = 7;
}
{code}

This ticket is to capture the addition of the InverseOffer protobuf to 
mesos.proto, the necessary API changes for Event/Call and the language bindings 
will be tracked separately.


> Add InverseOffer protobuf message.
> ----------------------------------
>
>                 Key: MESOS-2061
>                 URL: https://issues.apache.org/jira/browse/MESOS-2061
>             Project: Mesos
>          Issue Type: Task
>            Reporter: Benjamin Mahler
>            Assignee: Joseph Wu
>              Labels: mesosphere
>
> InverseOffer was defined as part of the maintenance work in MESOS-1474, 
> design doc here: 
> https://docs.google.com/document/d/16k0lVwpSGVOyxPSyXKmGC-gbNmRlisNEe4p-fAUSojk/edit?usp=sharing
> {code}
> /**
>  * A request to return some resources occupied by a framework.
>  */
> message InverseOffer {
>   required OfferID id = 1;
>   required FrameworkID framework_id = 2;
>   // A list of resources being requested back from the framework.
>   repeated Resource resources = 3;
>   // Specified if the resources need to be released from a particular slave.
>   optional SlaveID slave_id = 4;
>   // The resources in this InverseOffer are part of a planned maintenance
>   // schedule in the specified window.  Any tasks running using these
>   // resources may be killed when the window arrives.
>   optional Interval unavailability = 5;
> }
> {code}
> This ticket is to capture the addition of the InverseOffer protobuf to 
> mesos.proto, the necessary API changes for Event/Call and the language 
> bindings will be tracked separately.



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

Reply via email to