hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Templeton (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-7057) FSAppAttempt#getResourceUsage doesn't need to consider resources queued for preemption
Date Sat, 09 Sep 2017 15:48:00 GMT

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

Daniel Templeton commented on YARN-7057:
----------------------------------------

OK, I double-check the uses of {{getResourceUsage()}}, and I agree.  The change ranges from
benign to necessary, depending on the caller.  The only one that's a little suspicious is
{{isStarvedForFairShare()}}, where it seems we might now be penalizing the app for the to-be-preempted
resources.  [~yufeigu], if you're happy with it, I think it's OK to commit.

> 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


Mime
View raw message