You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Neil Conway (JIRA)" <ji...@apache.org> on 2016/01/22 23:22:39 UTC

[jira] [Created] (MESOS-4476) Set ReservationInfo for static reservations

Neil Conway created MESOS-4476:
----------------------------------

             Summary: Set ReservationInfo for static reservations
                 Key: MESOS-4476
                 URL: https://issues.apache.org/jira/browse/MESOS-4476
             Project: Mesos
          Issue Type: Improvement
          Components: master
            Reporter: Neil Conway


Currently, we do not set {{ReservationInfo}} for static reservations. Moreover, we suggest that frameworks determine if a resource offer contains dynamically reserved resources by checking whether the {{ReservationInfo}} field is set. This means that if we want to add new reservation-specific information (e.g., labels), we can't put those fields into {{ReservationInfo}} if we want them to be supported by static reservations.

Proposed plan:
* Continue to add reservation-specific information to {{ReservationInfo}}, which means it won't be supported for static reservations
* Set {{ReservationInfo}} for both static and dynamic reservations
* Introduce a new enum to describe the type of the reservation, and encourage frameworks to use this field to check for whether a resource offer has a reservation.

The tricky part is the backward compatibility story.



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