[ https://issues.apache.org/jira/browse/MESOS-2066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joseph Wu updated MESOS-2066: ----------------------------- Description: 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 Interval { optional double start = 1; // Time, in seconds since the Epoch. optional double duration = 2; // Time, in seconds. } message Offer { // Existing fields ... // Signifies that the resources in this Offer are part of a planned // maintenance schedule in the specified window. Any tasks launched // using these resources may be killed when the window arrives. // This field gives additional information about the maintenance. // The maintenance may not necessarily start at exactly at this interval, // nor last for exactly the duration of this interval. optional Interval unavailability = 9; } {code} was: 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} > 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 > Assignee: Joseph Wu > Labels: mesosphere > > 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 Interval { > optional double start = 1; // Time, in seconds since the Epoch. > optional double duration = 2; // Time, in seconds. > } > message Offer { > // Existing fields > ... > > // Signifies that the resources in this Offer are part of a planned > // maintenance schedule in the specified window. Any tasks launched > // using these resources may be killed when the window arrives. > // This field gives additional information about the maintenance. > // The maintenance may not necessarily start at exactly at this interval, > // nor last for exactly the duration of this interval. > optional Interval unavailability = 9; > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)