hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wilfred Spiegelenburg (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6175) Negative vcore for resource needed to preempt
Date Wed, 15 Feb 2017 04:20:41 GMT

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

Wilfred Spiegelenburg commented on YARN-6175:
---------------------------------------------

The change overall looks good. The junit test failures are not related to the change.

+1 (non binding)

> Negative vcore for resource needed to preempt
> ---------------------------------------------
>
>                 Key: YARN-6175
>                 URL: https://issues.apache.org/jira/browse/YARN-6175
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: fairscheduler
>    Affects Versions: 2.8.0
>            Reporter: Yufei Gu
>            Assignee: Yufei Gu
>         Attachments: YARN-6175.001.patch
>
>
> Both old preemption code (2.8 and before) and new preemption code could have negative
vcores while calculating resources needed to preempt.
> For old preemption, you can find following messages in RM logs:
> {code}
> Should preempt <memory:2048, vCores:-2> 
> {code}
> The related code is in method {{resourceDeficit()}}. 
> For new preemption code, there are no messages in RM logs, the related code is in method
{{fairShareStarvation()}}. 
> The negative value isn't only a display issue, but also may cause missing necessary preemption.




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
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