[jira] [Updated] (YARN-10396) Max applications calculation per queue disregards queue level settings in absolute mode
[ https://issues.apache.org/jira/browse/YARN-10396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Szilard Nemeth updated YARN-10396: -- Description: 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. was: 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. > 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 > Components: capacity scheduler >Reporter: Benjamin Teke >Assignee: Benjamin Teke >Priority: Major > Fix For: 3.2.2, 3.4.0, 3.3.1 > > Attachments: YARN-10396.001.patch, YARN-10396.002.patch, > YARN-10396.003.patch, YARN-10396.branch-3.1.001.patch, > YARN-10396.branch-3.2.001.patch > > > 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.20.1#820001) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Updated] (YARN-10396) Max applications calculation per queue disregards queue level settings in absolute mode
[ https://issues.apache.org/jira/browse/YARN-10396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Peter Bacsko updated YARN-10396: Fix Version/s: 3.1.5 3.2.2 > 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 > Components: capacity scheduler >Reporter: Benjamin Teke >Assignee: Benjamin Teke >Priority: Major > Fix For: 3.2.2, 3.4.0, 3.3.1, 3.1.5 > > Attachments: YARN-10396.001.patch, YARN-10396.002.patch, > YARN-10396.003.patch, YARN-10396.branch-3.1.001.patch, > YARN-10396.branch-3.2.001.patch > > > 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-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Updated] (YARN-10396) Max applications calculation per queue disregards queue level settings in absolute mode
[ https://issues.apache.org/jira/browse/YARN-10396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Teke updated YARN-10396: - Attachment: YARN-10396.branch-3.2.001.patch YARN-10396.branch-3.1.001.patch > 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 > Components: capacity scheduler >Reporter: Benjamin Teke >Assignee: Benjamin Teke >Priority: Major > Fix For: 3.4.0, 3.3.1 > > Attachments: YARN-10396.001.patch, YARN-10396.002.patch, > YARN-10396.003.patch, YARN-10396.branch-3.1.001.patch, > YARN-10396.branch-3.2.001.patch > > > 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-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Updated] (YARN-10396) Max applications calculation per queue disregards queue level settings in absolute mode
[ https://issues.apache.org/jira/browse/YARN-10396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sunil G updated YARN-10396: --- Fix Version/s: (was: 3.1.5) (was: 3.2.2) > 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 > Components: capacity scheduler >Reporter: Benjamin Teke >Assignee: Benjamin Teke >Priority: Major > Fix For: 3.4.0, 3.3.1 > > Attachments: YARN-10396.001.patch, YARN-10396.002.patch, > YARN-10396.003.patch > > > 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-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Updated] (YARN-10396) Max applications calculation per queue disregards queue level settings in absolute mode
[ https://issues.apache.org/jira/browse/YARN-10396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sunil G updated YARN-10396: --- Fix Version/s: 3.1.5 3.3.1 3.2.2 > 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 > Components: capacity scheduler >Reporter: Benjamin Teke >Assignee: Benjamin Teke >Priority: Major > Fix For: 3.2.2, 3.4.0, 3.3.1, 3.1.5 > > Attachments: YARN-10396.001.patch, YARN-10396.002.patch, > YARN-10396.003.patch > > > 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-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Updated] (YARN-10396) Max applications calculation per queue disregards queue level settings in absolute mode
[ https://issues.apache.org/jira/browse/YARN-10396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Teke updated YARN-10396: - Attachment: YARN-10396.003.patch > 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 > Components: capacity scheduler >Reporter: Benjamin Teke >Assignee: Benjamin Teke >Priority: Major > Attachments: YARN-10396.001.patch, YARN-10396.002.patch, > YARN-10396.003.patch > > > 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-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Updated] (YARN-10396) Max applications calculation per queue disregards queue level settings in absolute mode
[ https://issues.apache.org/jira/browse/YARN-10396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Teke updated YARN-10396: - Attachment: YARN-10396.002.patch > 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 > Components: capacity scheduler >Reporter: Benjamin Teke >Assignee: Benjamin Teke >Priority: Major > Attachments: YARN-10396.001.patch, YARN-10396.002.patch > > > 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-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Updated] (YARN-10396) Max applications calculation per queue disregards queue level settings in absolute mode
[ https://issues.apache.org/jira/browse/YARN-10396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Teke updated YARN-10396: - Attachment: YARN-10396.001.patch > 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 > Components: capacity scheduler >Reporter: Benjamin Teke >Assignee: Benjamin Teke >Priority: Major > Attachments: YARN-10396.001.patch > > > 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-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Updated] (YARN-10396) Max applications calculation per queue disregards queue level settings in absolute mode
[ https://issues.apache.org/jira/browse/YARN-10396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Teke updated YARN-10396: - Component/s: capacity scheduler > 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 > Components: capacity scheduler >Reporter: Benjamin Teke >Assignee: Benjamin Teke >Priority: Major > > 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-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org