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 2019/07/19 12:49:00 UTC

[jira] [Comment Edited] (YARN-9687) Queue headroom check may let unacceptable allocation off when using DominantResourceCalculator

    [ https://issues.apache.org/jira/browse/YARN-9687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16888831#comment-16888831 ] 

Tao Yang edited comment on YARN-9687 at 7/19/19 12:48 PM:
----------------------------------------------------------

Attached v1 patch with UT for review. 
[~cheersyang], could you please help to review these issues: YARN-9685, YARN-9686 and YARN-9687? Thanks.


was (Author: tao yang):
Attached v1 patch with UT for review. 
[~cheersyang], could you please help to review these issue: YARN-9685, YARN-9686 and YARN-9687? Thanks.

> Queue headroom check may let unacceptable allocation off when using DominantResourceCalculator
> ----------------------------------------------------------------------------------------------
>
>                 Key: YARN-9687
>                 URL: https://issues.apache.org/jira/browse/YARN-9687
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: capacityscheduler
>            Reporter: Tao Yang
>            Assignee: Tao Yang
>            Priority: Major
>         Attachments: YARN-9687.001.patch
>
>
> Currently queue headroom check in {{RegularContainerAllocator#checkHeadroom}} is using {{Resources#greaterThanOrEqual}} which internally compare resources by ratio, when using DominantResourceCalculator, it may let unacceptable allocations off in some scenarios.
> For example:
> cluster-resource=<10GB, 10 vcores>
> queue-headroom=<2GB, 4 vcores>
> required-resource=<3GB, 1 vcores>
> In this way, headroom ratio(0.4) is greater than the required ratio(0.3), so that allocations will be let off in scheduling process but will always be rejected when committing these proposals.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org