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

Qian Zhang updated MESOS-6635:
------------------------------
    Description: 
The allocator needs to be adjusted once we allow frameworks to have multiple 
roles:

(1) When adding a framework, we need to store all of its roles and add it to 
multiple role sorters.

(2) We will CHECK that the framework does not modify its roles when updating 
the framework (much like we do for single-role frameworks).

(3) When performing an allocation, the allocator will set allocation_info.role. 
When recovering resources, the allocator will unset allocation_info.role.

(4) The allocator will send AllocationInfo alongside offers that it sends to 
the master, so that the master can easily augment {{Offer}} with allocation 
info.

  was:
The allocator needs to be adjusted once we allow frameworks to have multiple 
roles:

(1) When adding a framework a framework, we need to store all of its roles and 
add it to multiple role sorters.

(2) We will CHECK that the framework does not modify its roles when updating 
the framework (much like we do for single-role frameworks).

(3) When performing an allocation, the allocator will set allocation_info.role. 
When recovering resources, the allocator will unset allocation_info.role.

(4) The allocator will send AllocationInfo alongside offers that it sends to 
the master, so that the master can easily augment {{Offer}} with allocation 
info.


> Update allocator to handle multi-role frameworks.
> -------------------------------------------------
>
>                 Key: MESOS-6635
>                 URL: https://issues.apache.org/jira/browse/MESOS-6635
>             Project: Mesos
>          Issue Type: Task
>            Reporter: Benjamin Mahler
>
> The allocator needs to be adjusted once we allow frameworks to have multiple 
> roles:
> (1) When adding a framework, we need to store all of its roles and add it to 
> multiple role sorters.
> (2) We will CHECK that the framework does not modify its roles when updating 
> the framework (much like we do for single-role frameworks).
> (3) When performing an allocation, the allocator will set 
> allocation_info.role. When recovering resources, the allocator will unset 
> allocation_info.role.
> (4) The allocator will send AllocationInfo alongside offers that it sends to 
> the master, so that the master can easily augment {{Offer}} with allocation 
> info.



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

Reply via email to