You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Wilfred Spiegelenburg (JIRA)" <ji...@apache.org> on 2018/05/10 06:35:00 UTC

[jira] [Resolved] (YARN-6941) Allow Queue placement policies to be ordered by attribute

     [ 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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org