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 "Varun Saxena (JIRA)" <ji...@apache.org> on 2015/11/16 22:20:11 UTC

[jira] [Commented] (YARN-4297) TestJobHistoryEventHandler and TestRMContainerAllocator failing on YARN-2928 branch

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

Varun Saxena commented on YARN-4297:
------------------------------------

Rebased the patch.
Have also handled issue raised in YARN-3407 here as its a single line fix.

> TestJobHistoryEventHandler and TestRMContainerAllocator failing on YARN-2928 branch
> -----------------------------------------------------------------------------------
>
>                 Key: YARN-4297
>                 URL: https://issues.apache.org/jira/browse/YARN-4297
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>    Affects Versions: YARN-2928
>            Reporter: Varun Saxena
>            Assignee: Varun Saxena
>         Attachments: YARN-4297-YARN-2928.01.patch, YARN-4297-feature-YARN-2928.02.patch
>
>
> {noformat}
> Tests run: 13, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 16.09 sec <<< FAILURE! - in org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler
> testTimelineEventHandling(org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler)  Time elapsed: 0.11 sec  <<< ERROR!
> java.lang.ClassCastException: org.apache.hadoop.mapreduce.v2.app.AppContext$$EnhancerByMockitoWithCGLIB$$95d3ddbe cannot be cast to org.apache.hadoop.mapreduce.v2.app.MRAppMaster$RunningAppContext
> 	at org.apache.hadoop.mapreduce.jobhistory.JobHistoryEventHandler.serviceInit(JobHistoryEventHandler.java:271)
> 	at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
> 	at org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler.testTimelineEventHandling(TestJobHistoryEventHandler.java:495)
> {noformat}
> {noformat}
> testRMContainerAllocatorResendsRequestsOnRMRestart(org.apache.hadoop.mapreduce.v2.app.rm.TestRMContainerAllocator)  Time elapsed: 2.649 sec  <<< ERROR!
> java.lang.ClassCastException: org.apache.hadoop.mapreduce.v2.app.AppContext$$EnhancerByMockitoWithCGLIB$$8e08559a cannot be cast to org.apache.hadoop.mapreduce.v2.app.MRAppMaster$RunningAppContext
> 	at org.apache.hadoop.mapreduce.v2.app.rm.RMContainerAllocator.getResources(RMContainerAllocator.java:802)
> 	at org.apache.hadoop.mapreduce.v2.app.rm.RMContainerAllocator.heartbeat(RMContainerAllocator.java:269)
> Tests in error: 
>   TestRMContainerAllocator.testExcessReduceContainerAssign:669 » ClassCast org.a...
>   TestRMContainerAllocator.testReportedAppProgress:970 » NullPointer
>   TestRMContainerAllocator.testBlackListedNodesWithSchedulingToThatNode:1578 » ClassCast
>   TestRMContainerAllocator.testBlackListedNodes:1292 » ClassCast org.apache.hado...
>   TestRMContainerAllocator.testAMRMTokenUpdate:2691 » ClassCast org.apache.hadoo...
>   TestRMContainerAllocator.testMapReduceAllocationWithNodeLabelExpression:722 » ClassCast
>   TestRMContainerAllocator.testReducerRampdownDiagnostics:443 » ClassCast org.ap...
>   TestRMContainerAllocator.testReportedAppProgressWithOnlyMaps:1118 » NullPointer
>   TestRMContainerAllocator.testMapReduceScheduling:819 » ClassCast org.apache.ha...
>   TestRMContainerAllocator.testResource:390 » ClassCast org.apache.hadoop.mapred...
>   TestRMContainerAllocator.testUpdatedNodes:1190 » ClassCast org.apache.hadoop.m...
>   TestRMContainerAllocator.testCompletedTasksRecalculateSchedule:2249 » ClassCast
>   TestRMContainerAllocator.testConcurrentTaskLimits:2779 » ClassCast org.apache....
>   TestRMContainerAllocator.testSimple:219 » ClassCast org.apache.hadoop.mapreduc...
>   TestRMContainerAllocator.testIgnoreBlacklisting:1378->getContainerOnHost:1511 » ClassCast
>   TestRMContainerAllocator.testMapNodeLocality:310 » ClassCast org.apache.hadoop...
>   TestRMContainerAllocator.testRMContainerAllocatorResendsRequestsOnRMRestart:2489 » ClassCast
> Tests run: 26, Failures: 0, Errors: 17, Skipped: 0
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)