Enable override of default queue mappings
By default, placement rules are considered only if a target queue is not specified during a job submission.You can change that behaviour to take placement rules into account whether a target queue is specified at job submission or not.
The yarn.scheduler.capacity.queue-mappings-override.enable
property
controls when placement rules are considered. In the YARN Queue Manager UI, this property is
called Override Queue Mapping. By default, the property is set to
false
, which means the feature is disabled and placement rules cannot
override the target queue that was specified at job submission.
Override Queue Mapping | Target queue is specified at job submission? | Placement rules exist? | End result |
---|---|---|---|
Disabled (set to |
Yes |
Yes |
Job is submitted to the queue that was specified by the submitter. |
Disabled (set to |
Yes |
No |
Job is submitted to the queue that was specified by the submitter. |
Disabled (set to |
No |
Yes |
Placement rules specify the target queue. |
Disabled (set to |
No |
No |
Job is submitted to the default queue of the scheduler
( |
Enabled (set to |
Yes |
Yes |
Placement rules specify the target queue. |
Enabled (set to |
Yes |
No |
Job is submitted to the queue that was specified by the submitter. |
Enabled (set to |
No |
Yes |
Placement rules specify the target queue. |
Enabled (set to |
No |
No |
Job is submitted to the default queue of the scheduler
( |
specified
placement
rule policy is used. For more information, see Placement rule policies.