You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Benjamin Mahler (JIRA)" <ji...@apache.org> on 2014/11/11 01:37:35 UTC

[jira] [Updated] (MESOS-2066) Add optional 'Unavailability' to resource offers to provide maintenance awareness.

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

Benjamin Mahler updated MESOS-2066:
-----------------------------------
    Labels: twitter  (was: )

> Add optional 'Unavailability' to resource offers to provide maintenance awareness.
> ----------------------------------------------------------------------------------
>
>                 Key: MESOS-2066
>                 URL: https://issues.apache.org/jira/browse/MESOS-2066
>             Project: Mesos
>          Issue Type: Task
>            Reporter: Benjamin Mahler
>              Labels: twitter
>
> In order to inform frameworks about upcoming maintenance on offered resources, per MESOS-1474, we'd like to add an optional 'Unavailability' information to offers:
> {code}
> message Unavailability {
>   required Time start = 1;
>   // The approximate duration of the unavailability,
>   // if this is a transient unavailability.
>   optional Duration duration = 2;
> }
> message Offer {
>   required OfferID id = 1;
>   required FrameworkID framework_id = 2;
>   required SlaveID slave_id = 3;
>   required string hostname = 4;
>   repeated Resource resources = 5;
>   repeated Attribute attributes = 7;
>   repeated ExecutorID executor_ids = 6;
>  
>   // The resources specified in this offer will become unavailable
>   // at the specified start time and for the specified duration. Any
>   // tasks launched using these resources might get killed when
>   // these resources become unavailable.
>   optional Unavailability unavailability = 8;
> }
> {code}



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