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

Haibo Chen commented on YARN-8807:
----------------------------------

The unit test failures are all unrelated.

> FairScheduler crashes RM with oversubscription turned on if an application is 
> killed.
> -------------------------------------------------------------------------------------
>
>                 Key: YARN-8807
>                 URL: https://issues.apache.org/jira/browse/YARN-8807
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: fairscheduler, resourcemanager
>    Affects Versions: YARN-1011
>            Reporter: Haibo Chen
>            Assignee: Haibo Chen
>            Priority: Major
>         Attachments: YARN-8807-YARN-1011.00.patch, 
> YARN-8807-YARN-1011.01.patch
>
>
> When an application, that has got opportunistic containers allocated, is 
> killed, its containers are not released immediately.
> Fair scheduler would therefore continue to try to promote such orphaned 
> containers, which results in NPE.
> {code:java}
> java.lang.NullPointerException
>     at 
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler.attemptToAssignReservedResourcesOrPromoteOpportunisticContainers(FairScheduler.java:1158)
>     at 
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler.attemptScheduling(FairScheduler.java:1129)
>     at 
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler.nodeUpdate(FairScheduler.java:1001)
>     at 
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler.handle(FairScheduler.java:1275)
>     at 
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairScheduler.testKillingApplicationWithOpportunisticContainersAssigned(TestFairScheduler.java:4019){code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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