Reordering placement rules
Placement rules are evaluated in the order in which they appear in the placement rule list. When a job is submitted, the rules are evaluated, and the first matching rule is used to determine the queue in which the job is run.
When a job is submitted, the rules are evaluated from top to bottom, and the first matching rule is used to determine the queue in which the job is run.
If a rule is always satisfied, subsequent rules are not evaluated. By default, placement rules are ordered in the order they were added; the rule added first appears first. You can easily reorder rules.
In Cloudera Manager, select YARN Queue Manager UI.
A graphical queue hierarchy is displayed in the Overview tab.
Go to the Placement Rules tab.
A list of placement rules is displayed.
The Reorder option is only available if you have at least two placement rules.
- Click Move Up and Move Down arrow buttons in a rule row.
- Click Save Reorder.