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

Update allocator to handle multi-role frameworks.

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: