[
https://issues.apache.org/jira/browse/MESOS-4987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Klaus Ma updated MESOS-4987:
----------------------------
Attachment: test.diff
Append the test case. Found this case when checking the feature interaction
with MESOS-4967, I think here's root cause:
1. In stage 1 (for Quota), the allocator will skip the following slaves if
quota is satisfied
2. In stage 2 (for DRF), the allocator will also skip unreserved resources in
agent if there's a quota for the role
(https://github.com/apache/mesos/blob/master/src/master/allocator/mesos/hierarchical.cpp#L1396)
> The resources is not full allocated because of Quota
> ----------------------------------------------------
>
> Key: MESOS-4987
> URL: https://issues.apache.org/jira/browse/MESOS-4987
> Project: Mesos
> Issue Type: Bug
> Reporter: Klaus Ma
> Attachments: test.diff
>
>
> The following case is failed, please correct me is any misunderstanding:
> 1. Set Quota to "cpu:1;mem:128"
> 2. Add a framework
> 3. Add an agent (cpu:8;mem:256); the framework will get an allocation
> 4. Add another agent (cpu:8;mem:256);
> 5. Waiting for the allocation. <======= The test failed here because of
> expired.
> cc [~bmahler], [~mcypark], [~alexr]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)