Database Reference
In-Depth Information
Figure 4-4. Fair sharing between user queues
Enabling the Fair Scheduler
The scheduler in use is determined by the setting of
yarn.resourcemanager.scheduler.class
. The Capacity Scheduler is used by
default (although the Fair Scheduler is the default in some Hadoop distributions, such as
CDH), but this can be changed by setting
yarn.resourcemanager.sched-
uler.class
in
yarn-site.xml
to the fully qualified classname of the scheduler,
org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler
.