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

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

Guangya Liu created MESOS-6684:
----------------------------------

             Summary: 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


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)