Yufei Gu created YARN-6941:
------------------------------

             Summary: Allow Queue placement policies to be ordered by attribute
                 Key: YARN-6941
                 URL: https://issues.apache.org/jira/browse/YARN-6941
             Project: Hadoop YARN
          Issue Type: Sub-task
          Components: fairscheduler
            Reporter: Yufei Gu
            Assignee: Yufei Gu
            Priority: Minor


It would be nice to add a feature that would allow users to provide an "order" 
or "index" the placement policies should apply, rather than just the native 
policy order as included in the XML.
For instance, the following two examples would be the same:
Natural order:
<queuePlacementPolicy>
<rule create="false" name="specified"/>
<rule create="false" name="user"/>
<rule name="default"/>
</queuePlacementPolicy>
Indexed Order:
<queuePlacementPolicy>
<rule index="2" name="default"/>
<rule index="1" create="false" name="user"/>
<rule index="0" create="false" name="specified"/>
</queuePlacementPolicy>



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

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

Reply via email to