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

Wei Yan commented on YARN-2073:
-------------------------------

And some minor comments:
(1) The line 57 in FairSchedulerTestBase.java, this is a typo: "schedling" 
should be "scheduling".
(2) Two empty lines at the bottom of FairSchedulerTestBase.java.
(3) Some unused imports in TestFairSchedulerPreemption.java, like 
org.apache.hadoop.yarn.api.records.ApplicationAttemptId, 
org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.
(4) The field LOG is also unused in TestFairSchedulerPreemption.java.

> FairScheduler starts preempting resources even with free resources on the 
> cluster
> ---------------------------------------------------------------------------------
>
>                 Key: YARN-2073
>                 URL: https://issues.apache.org/jira/browse/YARN-2073
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: scheduler
>    Affects Versions: 2.4.0
>            Reporter: Karthik Kambatla
>            Assignee: Karthik Kambatla
>            Priority: Critical
>         Attachments: yarn-2073-0.patch, yarn-2073-1.patch
>
>
> Preemption should kick in only when the currently available slots don't match 
> the request. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to