hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rohith (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-3305) AM-Used Resource for leafqueue is wrongly populated if AM ResourceRequest is less than minimumAllocation
Date Tue, 10 Mar 2015 06:06:38 GMT

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

Rohith commented on YARN-3305:
------------------------------

ResourceRequest's are normalized when CS#allocate has been invoked. But AMUsed is updated
while activating the applications which is earlier to CS#allocate call.
For AM ResourceRequest, normization should be done while adding attempt only.

> AM-Used Resource for leafqueue is wrongly populated if AM ResourceRequest is less than
minimumAllocation
> --------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-3305
>                 URL: https://issues.apache.org/jira/browse/YARN-3305
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: scheduler
>    Affects Versions: 2.6.0
>            Reporter: Rohith
>            Assignee: Rohith
>         Attachments: 0001-YARN-3305.patch
>
>
> For given any ResourceRequest, {{CS#allocate}} normalizes request to minimumAllocation
if requested memory is less than minimumAllocation.
> But AM-used resource is updated with actual ResourceRequest made by user. This results
in AM container allocation more than Max ApplicationMaster Resource.
> This is because AM-Used is updated with actual ResourceRequest made by user while activating
the applications. But during allocation of container, ResourceRequest is normalized to minimumAllocation.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message