[
https://issues.apache.org/jira/browse/MESOS-4303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Klaus Ma updated MESOS-4303:
----------------------------
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.
> Support resources re-shuffle when new framework registered
> ----------------------------------------------------------
>
> Key: MESOS-4303
> URL: https://issues.apache.org/jira/browse/MESOS-4303
> Project: Mesos
> Issue Type: Epic
> Components: master
> Reporter: Klaus Ma
> Assignee: Klaus Ma
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)