[
https://issues.apache.org/jira/browse/MESOS-4339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15093572#comment-15093572
]
Benjamin Bannier commented on MESOS-4339:
-----------------------------------------
Since all frameworks within the same role have exactly the same weight (the
weight of that role), taking the weight into account when sorting the
frameworks does not make any difference AFAICT; all it would do scale all
shares by the same weight.
Could you show an example where this makes a difference?
> Add weight support for framework sorter
> ---------------------------------------
>
> Key: MESOS-4339
> URL: https://issues.apache.org/jira/browse/MESOS-4339
> Project: Mesos
> Issue Type: Improvement
> Components: allocation
> Reporter: Fan Du
>
> Current framework sorter doesn't take into account of weights when sorting
> framework belonging to a particular role, i.e., all frameworks has equal
> weights as 1. Considering the role weight is controlled by the operator,
> enable the framework weight does not impact the role level allocation
> decision from any greedy frameworks, but it will be beneficial to some
> framework who could get more resources within a specific role.
> The framework weight will come from message FrameworkInfo when it got
> registered, and FrameworkSorters will "add" framework with weight,
> this will eventually result a weighted framework sorting flow when master
> make the finally allocation decision.
> Please review this ticket which I will work on if it's considered acceptable.
> Thanks a lot.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)