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

  1. In Cloudera Manager, select YARN Queue Manager UI.
    A graphical queue hierarchy is displayed in the Overview tab.
  2. Go to the Placement Rules tab.
    A list of placement rules is displayed.
  3. Click Reorder.

    The Reorder option is only available if you have at least two placement rules.

  4. Click Move Up and Move Down arrow buttons in a rule row.
  5. Click Save Reorder.