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

Wilfred Spiegelenburg resolved YARN-6941.
-----------------------------------------
    Resolution: Won't Fix

The XML is already ordered so it does not make sense to override the ordering 
which is in the XML.

> 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
>            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
(v7.6.3#76005)

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