hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1610) TestRMContainerAllocator#testCompletedTasksRecalculateSchedule fails
Date Thu, 16 Jan 2014 16:58:21 GMT

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

Ted Yu commented on YARN-1610:
------------------------------

Is this same as MAPREDUCE-5719 ?

> TestRMContainerAllocator#testCompletedTasksRecalculateSchedule fails
> --------------------------------------------------------------------
>
>                 Key: YARN-1610
>                 URL: https://issues.apache.org/jira/browse/YARN-1610
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.4.0, 2.3.0, 2.2.1
>            Reporter: Tsuyoshi OZAWA
>
> TestRMContainerAllocator#testCompletedTasksRecalculateSchedule fails because AbstractYarnScheduler.getTransferredContainers()
throws NullPointerException. The stack trace is as follows:
> {code}
> Running org.apache.hadoop.mapreduce.v2.app.TestRMContainerAllocator
> Tests run: 14, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 201.609 sec <<<
FAILURE! - in org.apache.hadoop.mapreduce.v2.app.TestRMContainerAllocator
> testCompletedTasksRecalculateSchedule(org.apache.hadoop.mapreduce.v2.app.TestRMContainerAllocator)
 Time elapsed: 2.082 sec  <<< ERROR!
> org.apache.hadoop.yarn.exceptions.YarnRuntimeException: java.lang.NullPointerException
> 	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.AbstractYarnScheduler.getTransferredContainers(AbstractYarnScheduler.java:50)
> 	at org.apache.hadoop.yarn.server.resourcemanager.ApplicationMasterService.registerApplicationMaster(ApplicationMasterService.java:277)
> 	at org.apache.hadoop.mapreduce.v2.app.rm.RMCommunicator.register(RMCommunicator.java:154)
> 	at org.apache.hadoop.mapreduce.v2.app.TestRMContainerAllocator$MyContainerAllocator.register(TestRMContainerAllocator.java:1476)
> 	at org.apache.hadoop.mapreduce.v2.app.rm.RMCommunicator.serviceStart(RMCommunicator.java:112)
> 	at org.apache.hadoop.mapreduce.v2.app.rm.RMContainerAllocator.serviceStart(RMContainerAllocator.java:219)
> 	at org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
> 	at org.apache.hadoop.mapreduce.v2.app.TestRMContainerAllocator$MyContainerAllocator.<init>(TestRMContainerAllocator.java:1444)
> 	at org.apache.hadoop.mapreduce.v2.app.TestRMContainerAllocator$RecalculateContainerAllocator.<init>(TestRMContainerAllocator.java:1629)
> 	at org.apache.hadoop.mapreduce.v2.app.TestRMContainerAllocator.testCompletedTasksRecalculateSchedule(TestRMContainerAllocator.java:1665)
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message