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

Michael Park updated MESOS-7655:
--------------------------------
    Description: 
With reservation refinement, there is a new framework capability called 
{{RESERVATION_REFINEMENT}}. The framework is required to use the 
{{Resource.reservations}} field to express reservations if the capability is 
set, otherwise it is required to use the {{Resource.role}} and 
{{Resource.reservation}} fields.

After the validation, we transform the resources from the old format to the new 
format and deal with the new format internally.
This allows us to only deal with the old format at the validation phase, and 
update the code to only consider the new format for all other Resources-related 
functions.

  was:With reservation refinement, there is a new framework capability called 
{{RESERVATION_REFINEMENT}}. The framework is required to use the 
{{Resource.reservations}} field to express reservations if the capability is 
set, otherwise it is required to use the {{Resource.role}} and 
{{Resource.reservation}} fields.


> Reservation Refinement: Update the logic in resources logic.
> ------------------------------------------------------------
>
>                 Key: MESOS-7655
>                 URL: https://issues.apache.org/jira/browse/MESOS-7655
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Michael Park
>
> With reservation refinement, there is a new framework capability called 
> {{RESERVATION_REFINEMENT}}. The framework is required to use the 
> {{Resource.reservations}} field to express reservations if the capability is 
> set, otherwise it is required to use the {{Resource.role}} and 
> {{Resource.reservation}} fields.
> After the validation, we transform the resources from the old format to the 
> new format and deal with the new format internally.
> This allows us to only deal with the old format at the validation phase, and 
> update the code to only consider the new format for all other 
> Resources-related functions.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to