[ 
https://issues.apache.org/jira/browse/YARN-6193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karthik Kambatla updated YARN-6193:
-----------------------------------
    Description: 
{{FSAppAttempt#canContainerBePreempted}} verifies preempting a container 
doesn't lead to new starvation ({{Resources.fitsIn}}). When using DRF, this 
leads to verifying both resources instead of just the dominant resource. 
Ideally, the check should be based on policy. 

Note that current implementation of 
{{DominantResourceFairnessPolicy#checkIfUsageOverFairShare}} is broken. 

  was:{{DominantResourceFairnessPolicy#checkIfUsageOverFairShare}} considers 
all resources instead of just dominant resource. Ideally, it should use the 
DominantResourceCalculator.


> FairScheduler might not trigger preemption when using DRF
> ---------------------------------------------------------
>
>                 Key: YARN-6193
>                 URL: https://issues.apache.org/jira/browse/YARN-6193
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: fairscheduler
>    Affects Versions: 2.8.0
>            Reporter: Karthik Kambatla
>            Assignee: Karthik Kambatla
>
> {{FSAppAttempt#canContainerBePreempted}} verifies preempting a container 
> doesn't lead to new starvation ({{Resources.fitsIn}}). When using DRF, this 
> leads to verifying both resources instead of just the dominant resource. 
> Ideally, the check should be based on policy. 
> Note that current implementation of 
> {{DominantResourceFairnessPolicy#checkIfUsageOverFairShare}} is broken. 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to