Robert Kanter created OOZIE-1029:
------------------------------------

             Summary: MiniMRCluster fails to start when used against YARN
                 Key: OOZIE-1029
                 URL: https://issues.apache.org/jira/browse/OOZIE-1029
             Project: Oozie
          Issue Type: Bug
          Components: tests
    Affects Versions: trunk
            Reporter: Robert Kanter
            Assignee: Robert Kanter
             Fix For: trunk


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

For example:
{code}

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
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to