Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
Description
set a wrong AbsoluteCapacity when call ParentQueue#setAbsoluteCapacity
private void deriveCapacityFromAbsoluteConfigurations(String label,
Resource clusterResource, ResourceCalculator rc, CSQueue childQueue) {
// 3. Update absolute capacity as a float based on parent's minResource and
// cluster resource.
childQueue.getQueueCapacities().setAbsoluteCapacity(label,
(float) childQueue.getQueueCapacities().getCapacity()
/ getQueueCapacities().getAbsoluteCapacity(label));
should be childQueue.getQueueCapacities().setAbsoluteCapacity(label,
(float) childQueue.getQueueCapacities().getCapacity(label)
/ getQueueCapacities().getAbsoluteCapacity(label));
Attachments
Issue Links
- is duplicated by
-
YARN-8917 Absolute (maximum) capacity of level3+ queues is wrongly calculated for absolute resource
- Resolved