[
https://issues.apache.org/jira/browse/MESOS-4339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15101251#comment-15101251
]
Fan Du commented on MESOS-4339:
-------------------------------
You understand my intention clearly, and thanks for in-depth comments of the
background.
As for why doing this, user scenario of making frameworks be able to prioritize
each other within a role should be supported, just as the rationale of weigthed
roles. The veto is based on the depoly assumption that one role could only have
exactly one framework attached to it, I'm not sure how this is going to change
after MESOS-4284. Anyway please add more comments.
Here are my early thoughts about weighted framework sorter should
support/respect:
* Respect framework reregistration for weight update
* Need an operator endpoint for dynamic reweighting(I didn't mention this in
the ticket's
description, though it's already in my mind)
* In presence of multi-role frameworks, a per-role weight style makes more sense
[MESOS-4284|https://issues.apache.org/jira/browse/MESOS-4284] has a design
proposal published yesterday, which I need to dive into first to understand
possible concerns from [~bbannier].
> 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
> Assignee: 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)