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

Tsuyoshi OZAWA commented on YARN-2219:
--------------------------------------

[~jianhe], feel free to use the patch if there are any problem in it. I also 
confirmed that the tests about resourcemanager pass with it. thanks.

> AMs and NMs can get exceptions after recovery but before scheduler knowns 
> apps and app-attempts
> -----------------------------------------------------------------------------------------------
>
>                 Key: YARN-2219
>                 URL: https://issues.apache.org/jira/browse/YARN-2219
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>            Reporter: Ashwin Shankar
>            Assignee: Jian He
>             Fix For: 2.6.0
>
>         Attachments: YARN-2219-fix-compilation-failure.txt, 
> YARN-2219.1.patch, YARN-2219.2.patch
>
>
> {code}
> org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart
> testAppReregisterOnRMWorkPreservingRestart[0](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart)
>   Time elapsed: 4.335 sec  <<< ERROR!
> java.lang.NullPointerException: null
>       at 
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.AbstractYarnScheduler.getTransferredContainers(AbstractYarnScheduler.java:91)
>       at 
> org.apache.hadoop.yarn.server.resourcemanager.ApplicationMasterService.registerApplicationMaster(ApplicationMasterService.java:297)
>       at 
> org.apache.hadoop.yarn.server.resourcemanager.MockAM$1.run(MockAM.java:113)
>       at 
> org.apache.hadoop.yarn.server.resourcemanager.MockAM$1.run(MockAM.java:110)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at javax.security.auth.Subject.doAs(Subject.java:396)
>       at 
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1626)
>       at 
> org.apache.hadoop.yarn.server.resourcemanager.MockAM.registerAppAttempt(MockAM.java:109)
>       at 
> org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testAppReregisterOnRMWorkPreservingRestart(TestWorkPreservingRMRestart.java:562)
> {code}



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

Reply via email to