You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Qian Zhang (JIRA)" <ji...@apache.org> on 2016/12/01 13:26:59 UTC

[jira] [Updated] (MESOS-6635) Update allocator to handle multi-role frameworks.

     [ 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)