[ 
https://issues.apache.org/jira/browse/YARN-7562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

chuanjie.duan updated YARN-7562:
--------------------------------
    Description: 
User algo submit a mapreduce job, console log said "root.algo is not a leaf 
queue exception".
root.algo is a parent queue, it's meanless for me. Not sure why parent queue 
added before

<queue name="default">
  <minResources>3000 mb, 1 vcores</minResources>
  <maxResources>24000 mb, 8 vcores</maxResources>
  <maxRunningApps>4</maxRunningApps>
  <weight>1</weight>
  <schedulingMode>fifo</schedulingMode>
</queue>
<queue name="algo">
  <minSharePreemptionTimeout>300</minSharePreemptionTimeout>
  <minResources>40000 mb, 10 vcores</minResources>
  <maxResources>200000 mb, 60 vcores</maxResources>
  <queue name="test">
    <minSharePreemptionTimeout>300</minSharePreemptionTimeout>
    <minResources>40000 mb, 10 vcores</minResources>
    <maxResources>200000 mb, 60 vcores</maxResources>
    <maxRunningApps>20</maxRunningApps>
    <schedulingMode>fifo</schedulingMode>
    <weight>4</weight>
  </queue>
</queue>

<queuePlacementPolicy>
    <rule name="user" create="false" />
    <rule name="specified" />
    <rule name="default" queue="default"/>
</queuePlacementPolicy>

  was:
User algo submit a mapreduce job, console log said "root.algo is not a leaf 
queue exception".
root.algo is a parent queue, it's meanless for me. Not sure why parent queue 
added before

<queue name="algo">
  <queue name="test">
  <minSharePreemptionTimeout>300</minSharePreemptionTimeout>
  ....
</queue>

<queuePlacementPolicy>
    <rule name="user" create="false" />
    <rule name="specified" />
    <rule name="default" queue="default"/>
</queuePlacementPolicy>


> queuePlacementPolicy should not match parent queue
> --------------------------------------------------
>
>                 Key: YARN-7562
>                 URL: https://issues.apache.org/jira/browse/YARN-7562
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: fairscheduler, resourcemanager
>    Affects Versions: 2.7.1
>            Reporter: chuanjie.duan
>         Attachments: YARN-7562.patch
>
>
> User algo submit a mapreduce job, console log said "root.algo is not a leaf 
> queue exception".
> root.algo is a parent queue, it's meanless for me. Not sure why parent queue 
> added before
> <queue name="default">
>   <minResources>3000 mb, 1 vcores</minResources>
>   <maxResources>24000 mb, 8 vcores</maxResources>
>   <maxRunningApps>4</maxRunningApps>
>   <weight>1</weight>
>   <schedulingMode>fifo</schedulingMode>
> </queue>
> <queue name="algo">
>   <minSharePreemptionTimeout>300</minSharePreemptionTimeout>
>   <minResources>40000 mb, 10 vcores</minResources>
>   <maxResources>200000 mb, 60 vcores</maxResources>
>   <queue name="test">
>     <minSharePreemptionTimeout>300</minSharePreemptionTimeout>
>     <minResources>40000 mb, 10 vcores</minResources>
>     <maxResources>200000 mb, 60 vcores</maxResources>
>     <maxRunningApps>20</maxRunningApps>
>     <schedulingMode>fifo</schedulingMode>
>     <weight>4</weight>
>   </queue>
> </queue>
> <queuePlacementPolicy>
>     <rule name="user" create="false" />
>     <rule name="specified" />
>     <rule name="default" queue="default"/>
> </queuePlacementPolicy>



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to