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

Siddharth Seth commented on YARN-429:
-------------------------------------

stack trace
{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:75)
        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.hadoop.mapred.MiniMRCluster.<init>(MiniMRCluster.java:123)
        at 
org.apache.hadoop.hbase.HBaseTestingUtility.startMiniMapReduceCluster(HBaseTestingUtility.java:1574)
...
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:181)
        at 
org.apache.hadoop.yarn.service.CompositeService.start(CompositeService.java:68)
        ... 38 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:328)
        at 
org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.initializeQueues(CapacityScheduler.java:255)
        at 
org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.reinitialize(CapacityScheduler.java:220)
        at 
org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.init(ResourceManager.java:226)
        at 
org.apache.hadoop.yarn.server.MiniYARNCluster$ResourceManagerWrapper.start(MiniYARNCluster.java:161)
{code}
                
> capacity-scheduler config missing from yarn-test artifact
> ---------------------------------------------------------
>
>                 Key: YARN-429
>                 URL: https://issues.apache.org/jira/browse/YARN-429
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: 2.0.3-alpha
>            Reporter: Siddharth Seth
>            Assignee: Siddharth Seth
>            Priority: Blocker
>
> MiniYARNCluster and MiniMRCluster are unusable by downstream projects with 
> the 2.0.3-alpha release, since the capacity-scheduler configuration is 
> missing from the test artifact.
> hadoop-yarn-server-tests-3.0.0-SNAPSHOT-tests.jar should include the default 
> capacity-scheduler configuration. Also, this doesn't need to be part of the 
> default classpath - and should be moved out of the top level directory in the 
> dist package.

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