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

Karthik Kambatla commented on YARN-4979:
----------------------------------------

More importantly, the demand could be wrong and affect the way fairshare is 
set? 

> FSAppAttempt adds duplicate ResourceRequest to demand in updateDemand.
> ----------------------------------------------------------------------
>
>                 Key: YARN-4979
>                 URL: https://issues.apache.org/jira/browse/YARN-4979
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: fairscheduler
>    Affects Versions: 2.8.0, 2.7.2
>            Reporter: zhihai xu
>            Assignee: zhihai xu
>         Attachments: YARN-4979.001.patch
>
>
> FSAppAttempt adds duplicate ResourceRequest to demand in updateDemand. We 
> should only count ResourceRequest for ResourceRequest.ANY when calculate 
> demand.
> Because {{hasContainerForNode}} will return false if no container request for 
> ResourceRequest.ANY and both {{allocateNodeLocal}} and {{allocateRackLocal}} 
> will also decrease the number of containers for ResourceRequest.ANY.
> This issue may cause current memory demand overflow(integer) because 
> duplicate requests can be on multiple nodes.



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

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

Reply via email to