[
https://issues.apache.org/jira/browse/OOZIE-1029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Kanter updated OOZIE-1029:
---------------------------------
Attachment: OOZIE-1029.patch
I ran all of the tests with the patch and they all pass except for some in
TestPigMain (doesn't rely on MiniMRCluster and fails without the patch too) and
TestPigActionExecutor (relies on MiniMRCluster so fails without the patch
because of this issue, but also fails without the patch for a different issue).
These are a different issue than this JIRA so I'll create new JIRAs for them.
> 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