You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Benjamin Teke (Jira)" <ji...@apache.org> on 2020/08/12 12:02:00 UTC
[jira] [Created] (YARN-10396) Max applications calculation per
queue disregards queue level settings in absolute mode
Benjamin Teke created YARN-10396:
------------------------------------
Summary: Max applications calculation per queue disregards queue level settings in absolute mode
Key: YARN-10396
URL: https://issues.apache.org/jira/browse/YARN-10396
Project: Hadoop YARN
Issue Type: Bug
Reporter: Benjamin Teke
Assignee: Benjamin Teke
Looking at the following code in {{org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.ParentQueue.java#L1126}}
{code:java}
int maxApplications = (int) (conf.getMaximumSystemApplications()
* childQueue.getQueueCapacities().getAbsoluteCapacity(label));
leafQueue.setMaxApplications(maxApplications);{code}
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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org