Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-6635

Update allocator to handle multi-role frameworks.

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      The allocator needs to be adjusted once we allow frameworks to have multiple roles:

      (1) When adding a framework, we need to store all of its roles and add it to multiple role sorters.

      (2) We will CHECK that the framework does not modify its roles when updating the framework (much like we do for single-role frameworks).

      (3) When performing an allocation, the allocator will set allocation_info.role. When recovering resources, the allocator will unset allocation_info.role.

      (4) The allocator will send AllocationInfo alongside offers that it sends to the master, so that the master can easily augment Offer with allocation info.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bmahler Benjamin Mahler
                Reporter:
                bmahler Benjamin Mahler
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: