[ 
https://issues.apache.org/jira/browse/MESOS-9812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16882512#comment-16882512
 ] 

Meng Zhu commented on MESOS-9812:
---------------------------------

This covers: the guarantee overcommitment check, and hierchical gurantees check

{noformat}
commit 16f0b0c295960e397e56f6d504b8075cb62e6e4f
Author: Meng Zhu <[email protected]>
Date:   Fri Jul 5 15:41:01 2019 -0700

    Added overcommit and hierarchical inclusion check for `UPDATE_QUOTA`.

    The overcommit check validates that the total quota guarantees in
    the cluster is contained by the cluster capacity.

    The hierarchical inclusion check validates that the sum of
    children's  guarantees is contained by the parent guarantee.

    Further validation is needed for:

    - Check a role's limit is less than its current consumption.
    - Check a role's limit is less than its parent's limit.

    Review: https://reviews.apache.org/r/71020
{noformat}

Leave the ticket on for now for:
limits < consumption, hierarchical limits invariant.

> Add achievability validation for update quota call.
> ---------------------------------------------------
>
>                 Key: MESOS-9812
>                 URL: https://issues.apache.org/jira/browse/MESOS-9812
>             Project: Mesos
>          Issue Type: Improvement
>            Reporter: Meng Zhu
>            Assignee: Meng Zhu
>            Priority: Major
>              Labels: resource-management
>
> Add overcommit check, hierarchical quota validation and force flag override 
> for update quota call.
> Right now, we only have validation for per quota config. We need to add 
> further validation for the update quota call regarding:
> 1. Check if the role's resource limits are already breached. To achieve this, 
> we need to first rescind offers until its allocated resources are below 
> limits. If after all rescinds, allocated resources are still above the 
> requested limits, we will return an error unless the `force` flag is used.
> 2. If the aggregated quota guarantees of all roles are less than the cluster 
> capacity. If so we will return an error unless the `force` flag is used.
> 3. hierarchical limits validation
>   a. Check a role's limit is less than its parent's limit.
>   b. Check the sum of children's guarantees is less than its parent's 
> guarantees.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to