hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jian He (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-2219) TestWorkPreservingRMRestart fails intermittently on trunk
Date Mon, 14 Jul 2014 21:10:04 GMT

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

Jian He updated YARN-2219:
--------------------------

    Attachment: YARN-2219.1.patch

The problem is that scheduler application/attempt may not be created when app re-registers.

Patch to add scheduler application/attempt synchronously on recovery.
Also changed to not send duplicate AppAccepted event on recovery.

> TestWorkPreservingRMRestart fails intermittently on trunk
> ---------------------------------------------------------
>
>                 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
>
>
> {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)

Mime
View raw message