Defining Queue Labels for Fair Scheduler
Explains how to customize the Fair Scheduler.
By default, all users share a single queue, named default.
To customize the Fair Scheduler, create an allocation file that lists existing queues and
their respective weights and capacities, as explained in Hadoop 2.x Fair Scheduler. In the allocation file, add the following property
within the queue
section:
<label>labelname</label>
For example:
<queue name="Customer Data Analysis">
<weight>2.0</weight>
<label>Fast</label>
</queue>
For a hierarchical queue, note that labels and label policies can be defined on any level of the queue. If a child queue does not have its own labels or label policies, the labels and label policies of the closest level are used.