[ https://issues.apache.org/jira/browse/YARN-7057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16142233#comment-16142233
]
Yufei Gu commented on YARN-7057:
--------------------------------
Looking around the code, {{getPendingDemand()}} shouldn't be affected in a bad way, it will
actually be affect in a good way. One of callers of {{getPendingDemand()}} decides which application
is starve. Without this change, {{updateStarvedApps}} looks fishy.
> FSAppAttempt#getResourceUsage doesn't need to consider resources queued for preemption
> --------------------------------------------------------------------------------------
>
> Key: YARN-7057
> URL: https://issues.apache.org/jira/browse/YARN-7057
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: fairscheduler
> Affects Versions: 2.9.0
> Reporter: Karthik Kambatla
> Assignee: Karthik Kambatla
> Attachments: YARN-7057.001.patch
>
>
> FSAppAttempt#getResourceUsage excludes resources that are currently allocated to the
app but are about to be preempted. This inconsistency shows in the UI and can affect scheduling
of containers.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org
|