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

Robert Kanter commented on OOZIE-1029:
--------------------------------------

Also, 
org.apache.oozie.command.wf.TestActionCheckXCommand.testActionCheckTransientDuringLauncher
 and 
org.apache.oozie.command.wf.TestActionCheckXCommand.testActionCheckTransientDuringMRAction
 failed, but this is already being taken care of by OOZIE-1011.  
                
> 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
>
>         Attachments: OOZIE-1029.patch
>
>
> 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