[ https://issues.apache.org/jira/browse/YARN-4979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15297118#comment-15297118 ]
Karthik Kambatla commented on YARN-4979: ---------------------------------------- +1, checking this in. > 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