Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-1029

MiniMRCluster fails to start when used against YARN

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • trunk
    • 3.3.2
    • tests
    • None

    Description

      When using YARN (via invoking maven with -Phadoop-3), any tests using the MiniMRCluster get an error because MiniMRCluster fails to start.

      For example:

      org.apache.hadoop.yarn.YarnException: Failed to Start org.apache.hadoop.mapred.MiniMRCluster
      	at org.apache.hadoop.yarn.service.CompositeService.start(CompositeService.java:78)
      	at org.apache.hadoop.mapred.MiniMRClientClusterFactory.create(MiniMRClientClusterFactory.java:71)
      	at org.apache.hadoop.mapred.MiniMRCluster.<init>(MiniMRCluster.java:180)
      	at org.apache.hadoop.mapred.MiniMRCluster.<init>(MiniMRCluster.java:170)
      	at org.apache.hadoop.mapred.MiniMRCluster.<init>(MiniMRCluster.java:162)
      	at org.apache.oozie.test.XTestCase.setUpEmbeddedHadoop(XTestCase.java:725)
      	at org.apache.oozie.test.XTestCase.setUp(XTestCase.java:281)
      	at org.apache.oozie.test.XFsTestCase.setUp(XFsTestCase.java:58)
              ...
      Caused by: org.apache.hadoop.yarn.YarnException: java.lang.IllegalStateException: Queue configuration missing child queue names for root
      	at org.apache.hadoop.yarn.server.MiniYARNCluster$ResourceManagerWrapper.start(MiniYARNCluster.java:184)
      	at org.apache.hadoop.yarn.service.CompositeService.start(CompositeService.java:68)
      	... 26 more
      Caused by: java.lang.IllegalStateException: Queue configuration missing child queue names for root
      	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.parseQueue(CapacityScheduler.java:307)
      	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.initializeQueues(CapacityScheduler.java:232)
      	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.reinitialize(CapacityScheduler.java:202)
      	at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.init(ResourceManager.java:201)
      	at org.apache.hadoop.yarn.server.MiniYARNCluster$ResourceManagerWrapper.start(MiniYARNCluster.java:164)
      	... 27 more
      

      Attachments

        1. OOZIE-1029.patch
          0.9 kB
          Robert Kanter

        Issue Links

          Activity

            People

              rkanter Robert Kanter
              rkanter Robert Kanter
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: