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

Jay Guo reassigned MESOS-6634:
------------------------------

    Assignee: Jay Guo

> Add Resource.AllocationInfo in Offer to indicate a single role per offer.
> -------------------------------------------------------------------------
>
>                 Key: MESOS-6634
>                 URL: https://issues.apache.org/jira/browse/MESOS-6634
>             Project: Mesos
>          Issue Type: Task
>          Components: framework api
>            Reporter: Benjamin Mahler
>            Assignee: Jay Guo
>
> With multi-role framework support, we need to ensure that the framework can 
> determine which resources are allocated to which roles. Since we'd like to 
> preserve the offer semantics between a single multi-tenant scheduler and 
> multiple single-tenant schedulers, we would like to ensure that an offer only 
> contains resources allocated to a single role:
> {code}
> message Offer {
>   required OfferID id = 1;
>   ...
>   required AgentID agent_id = 3;
>   ...
>   repeated Resource resources = 5;
>   ...
>   // An offer represent resources allocated to *one* of the
>   // roles managed by the scheduler. (Therefore, each
>   // `Offer.resources[i].allocation_info` will match the
>   // top level `Offer.allocation_info`).
>   optional Resource.AllocationInfo allocation_info = 10;
> }
> {code}
> The assumption is that this will make it easier for schedulers to manage 
> offers, since each offer is made to a single tenant.



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

Reply via email to