Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Duplicate
-
None
-
None
-
None
Description
In case of leaf queue the AM resource calculation is based on absoluteCapacityResource. Below is the calculation for absolute capacity
LeafQueue#updateAbsoluteCapacityResource()
private void updateAbsoluteCapacityResource(Resource clusterResource) {
absoluteCapacityResource =
Resources.multiplyAndNormalizeUp(resourceCalculator, labelManager
.getResourceByLabel(RMNodeLabelsManager.NO_LABEL, clusterResource),
queueCapacities.getAbsoluteCapacity(), minimumAllocation);
}
If default partition resource is zero for all Leaf queue the resource for AM will be zero
Snapshot also attached for the same
Attachments
Attachments
Issue Links
- is duplicated by
-
YARN-3216 Max-AM-Resource-Percentage should respect node labels
- Resolved