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 "Weiwei Yang (JIRA)" <ji...@apache.org> on 2018/11/05 15:46:00 UTC

[jira] [Comment Edited] (YARN-8858) CapacityScheduler should respect maximum node resource when per-queue maximum-allocation is being used.

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

Weiwei Yang edited comment on YARN-8858 at 11/5/18 3:45 PM:
------------------------------------------------------------

Thanks [~ajisakaa] for the reminder, this one got slipped from my list. I just uploaded v2 patch for branch-2.8 to fix the UT. BTW, when I fix this, I think  testContainerRejectionWhenAskBeyondDynamicMax might be flaky, I will create another ticket to fix on rest of branches.


was (Author: cheersyang):
Thanks [~ajisakaa] for the reminder, this one got slipped from my list. I just uploaded v2 patch for branch-2.8 to fix the UT.

> CapacityScheduler should respect maximum node resource when per-queue maximum-allocation is being used.
> -------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-8858
>                 URL: https://issues.apache.org/jira/browse/YARN-8858
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Sumana Sathish
>            Assignee: Wangda Tan
>            Priority: Major
>             Fix For: 2.10.0, 3.2.0, 2.9.2, 3.0.4, 3.1.2, 3.3.0
>
>         Attachments: YARN-8858-branch-2.8.001.patch, YARN-8858-branch-2.8.002.patch, YARN-8858.001.patch, YARN-8858.002.patch
>
>
> This issue happens after YARN-8720.
> Before that, AMS uses scheduler.getMaximumAllocation to do the normalization. After that, AMS uses LeafQueue.getMaximumAllocation. The scheduler one uses nodeTracker.getMaximumAllocation, but the LeafQueue.getMaximum doesn't. 
> We should use the scheduler.getMaximumAllocation to cap the per-queue's maximum-allocation every time.



--
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