[ 
https://issues.apache.org/jira/browse/MESOS-6247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15547134#comment-15547134
 ] 

Benjamin Mahler commented on MESOS-6247:
----------------------------------------

Setting weight for a framework means that the FrameworkID acts a sub-role. This 
would be a hacky implementation of hierarchical roles:

{noformat}
                    ^
                  /   \
           BigData     Services
              ^
            /   \
FrameworkId1     FrameworkId2
{noformat}

This approach only supports 2 levels of roles and the leaf nodes are not roles, 
they are framework ids (which act as a special kind of role). We should support 
hierarchical roles directly, supporting more than just 2 levels and having 
roles as the only allocation entity:

{noformat}
                    ^
                  /   \
           BigData     Services
              ^
            /   \
       Spark     YARN
{noformat}

> Enable Framework to set weight
> ------------------------------
>
>                 Key: MESOS-6247
>                 URL: https://issues.apache.org/jira/browse/MESOS-6247
>             Project: Mesos
>          Issue Type: Bug
>          Components: allocation
>         Environment: all
>            Reporter: Klaus Ma
>            Priority: Critical
>
> We'd like to enable framework's weight when it register. So the framework can 
> share resources based on weight within the same role.



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

Reply via email to