Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-2928 YARN Timeline Service v.2: alpha 1
  3. YARN-4297

TestJobHistoryEventHandler and TestRMContainerAllocator failing on YARN-2928 branch

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • YARN-2928
    • 2.9.0, 3.0.0-alpha1
    • None
    • None
    • Reviewed

    Description

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

      Attachments

        1. YARN-4297-feature-YARN-2928.03.patch
          7 kB
          Varun Saxena
        2. YARN-4297-feature-YARN-2928.02.patch
          7 kB
          Varun Saxena
        3. YARN-4297-YARN-2928.01.patch
          4 kB
          Varun Saxena

        Activity

          People

            varun_saxena Varun Saxena
            varun_saxena Varun Saxena
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: