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 "Tao Yang (JIRA)" <ji...@apache.org> on 2018/10/26 02:50:00 UTC
[jira] [Commented] (YARN-8945) Calculation of maximum applications
should respect specified and global maximum applications for absolute
resource
[ https://issues.apache.org/jira/browse/YARN-8945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16664584#comment-16664584 ]
Tao Yang commented on YARN-8945:
--------------------------------
Attached v1 patch for review.
> Calculation of maximum applications should respect specified and global maximum applications for absolute resource
> ------------------------------------------------------------------------------------------------------------------
>
> Key: YARN-8945
> URL: https://issues.apache.org/jira/browse/YARN-8945
> Project: Hadoop YARN
> Issue Type: Bug
> Components: capacityscheduler
> Affects Versions: 3.2.0
> Reporter: Tao Yang
> Assignee: Tao Yang
> Priority: Major
> Attachments: YARN-8945.001.patch
>
>
> Currently maximum applications is expected to be calculated as follow according to priority when using percentage based capacity:
> (1) equals specified maximum applications for queues
> (2) equals global maximum applications
> (3) calculated as queue-capacity * maximum-system-applications
> But for absolute resource configuration, maximum applications is calculated as (3) in ParentQueue#deriveCapacityFromAbsoluteConfigurations, this is a strict limit for high max-capacity and low capacity queues which have little guaranteed resources but want to use lots of share resources. So I propose to share the maximum applications calculation of percentage based capacity, absolute resource can call the same calculation if necessary.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org