[
https://issues.apache.org/jira/browse/MESOS-9104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16551427#comment-16551427
]
Meng Zhu commented on MESOS-9104:
---------------------------------
https://reviews.apache.org/r/67777/
https://reviews.apache.org/r/67826/
https://reviews.apache.org/r/67827/
> Refactor capability related logic in the allocator.
> ---------------------------------------------------
>
> Key: MESOS-9104
> URL: https://issues.apache.org/jira/browse/MESOS-9104
> Project: Mesos
> Issue Type: Improvement
> Components: allocation
> Reporter: Meng Zhu
> Assignee: Meng Zhu
> Priority: Major
> Labels: mesosphere
>
> - Add a function for returning the subset of frameworks that are capable of
> receiving offers from the agent. This moves the capability checking out of
> the core allocation logic and means the loops can just iterate over a smaller
> set of framework candidates rather than having to write 'continue' cases.
> This covers the GPU_RESOURCES and REGION_AWARE capabilities.
> - Similarly, add a function that allows framework capability based filtering
> of resources. This pulls out the filtering logic from the core allocation
> logic and instead the core allocation logic can just all out to the
> capability filtering function. This covers the SHARED_RESOURCES,
> REVOCABLE_RESOURCES and RESERVATION_REFINEMENT capabilities. Note that in
> order to implement this one, we must refactor the shared resources logic in
> order to have the resource generation occur regardless of the framework
> capability (followed by getting filtered out via this new function if the
> framework is not capable).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)