You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Jian He (JIRA)" <ji...@apache.org> on 2014/07/15 20:50:05 UTC

[jira] [Commented] (YARN-2219) AMs and NMs can get exceptions after recovery but before scheduler knowns apps and app-attempts

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

Jian He commented on YARN-2219:
-------------------------------

Fixed the comments
bq. instead of the shouldNotifyAppAccepted nomenclature, we can say isAppRecovering and flip the logic 
Updated the naming for attempt also to be consistent.  

> 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
>         Attachments: 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)