[
https://issues.apache.org/jira/browse/YARN-4297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Varun Saxena updated YARN-4297:
-------------------------------
Summary: TestJobHistoryEventHandler and TestRMContainerAllocator failing on
YARN-2928 branch (was: TestJobHistoryEventHandler failing on YARN-2928 branch)
> 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
>
>
> {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}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)