Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
This is a follow-up for YARN-9323, covering required changes as discussed with templedf earlier.
After YARN-9323, org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FSLeafQueue#computeMaxAMResource gets the QueueMetricsForCustomResources object from scheduler.getRootQueueMetrics().
Instead, we should use a "fill-in" method in QueueMetrics that receives a Resource and fills in custom resource values if they are non-zero.
Attachments
Attachments
Issue Links
- is cloned by
-
YARN-9361 Write testcase for FSLeafQueue that explicitly checks if non-zero AM-share values are not overwritten for custom resources
- Open