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

Support resources re-shuffle when new framework registered

    XMLWordPrintableJSON

Details

    • Epic
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • master
    • None
    • reclaim

    Description

      Currently, if one famework launched tasks in all resources, the other framework has to wait those tasks completed to get deserved resources. That's un-fair to the new framework, there're several EPICs on such case but still can not resolve it:

      • Quota: balance resouces based on un-allocated resources; the used resources can not be reclaim back when new framework registered
      • Optimistic Offer Phase 1 (oversubscription of reservation): the un-used reserved resources can be used by the new framework; but still can not reclaim un-reserved resources back.
      • Optimistic Offer Phase 2: in phase 2, all resources are offered to all framework; besides resources conflict, it also need to re-shuffle resources if one framework over occupied.

      The target of this EPIC is to
      1. Enhance DRF to identify which resources should be reclaim
      2. Define the protocol between Mesos & Framework to reclaim resources gracefully

      To keep the compatibility, this feature is controlled by master paramenter, e.g. --enable-reclaim.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              klaus1982 Klaus Ma
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: