Benjamin Mahler created MESOS-5528:
--------------------------------------

             Summary: Use inverse offers to reclaim resources from schedulers 
over their quota.
                 Key: MESOS-5528
                 URL: https://issues.apache.org/jira/browse/MESOS-5528
             Project: Mesos
          Issue Type: Epic
          Components: allocation
            Reporter: Benjamin Mahler


As we move towards distinguishing non-revocable and revocable allocation of 
resources, we need to enforce that the upper limits specified via quota are 
enforced.

For example, if a scheduler has quota for non-revocable resources and there is 
only fair sharing turned on for revocable resources, the scheduler should not 
be able to consume more non-revocable resources than its quota limit.

Even if mesos disallows this when tasks are launched, there are cases where the 
scheduler can exceed its quota:
* Unreachable nodes that were not accounted for reconnect to the cluster with 
existing resources allocated to the scheduler's role.
* The operator lowers the amount of quota for the role.

In these cases and more generally, we need an always running mechanism for 
reclaiming excess quota allocation via inverse offers. The deadline should be 
configurable by the operator.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to