You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Jay Guo (JIRA)" <ji...@apache.org> on 2016/12/05 03:09:58 UTC

[jira] [Assigned] (MESOS-6684) Update addFramework/removeFramework to handle multi-role frameworks

     [ https://issues.apache.org/jira/browse/MESOS-6684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jay Guo reassigned MESOS-6684:
------------------------------

    Assignee: Jay Guo

> Update addFramework/removeFramework to handle multi-role frameworks
> -------------------------------------------------------------------
>
>                 Key: MESOS-6684
>                 URL: https://issues.apache.org/jira/browse/MESOS-6684
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Guangya Liu
>            Assignee: Jay Guo
>
> The current master add/remove frameworks only handle single role framework, it should be updated to support multi-role frameworks.
> {code}
>  if (!activeRoles.contains(role)) {
>     activeRoles[role] = new Role();
>   }
>   activeRoles[role]->addFramework(framework);
> {code}
> We should update both {{addFramework}} and {{removeFramework}} in master.cpp to be able to map one framework to multiple roles.



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