Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
Looking at the following code in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.ParentQueue.java#L1126
int maxApplications = (int) (conf.getMaximumSystemApplications() * childQueue.getQueueCapacities().getAbsoluteCapacity(label)); leafQueue.setMaxApplications(maxApplications);
In Absolute Resources mode, setting the number of maximum applications on queue level gets overridden with the system level setting scaled down to the available resources. This means that the only way to set the maximum number of applications is to change the queue's resource pool. This line should consider the queue's {{yarn.scheduler.capacity.{queuepath}.maximum-applications }}setting.