You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Yufei Gu (JIRA)" <ji...@apache.org> on 2017/02/11 00:42:41 UTC

[jira] [Created] (YARN-6175) Negative vcore for resource needed to preempt

Yufei Gu created YARN-6175:
------------------------------

             Summary: 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: 3.0.0-alpha2, 2.8.0
            Reporter: Yufei Gu
            Assignee: Yufei Gu


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 code would has these message:
{code}
Should preempt <memory:2048, vCores:-2>
{code}
The related code is in method {{resourceDeficit()}}. 

For new preemption code, the related code is in method {{fairShareStarvation()}}. 

The negative value isn't only a display issue, but also may missing necessary preemption. 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org