Configure Fair Scheduler – Configure cluster with fair schedulers

Let us see how we can configure Fair Scheduler using Cloudera Manager.

  • Log in to Cloudera Manager and go to YARN and then click on Configuration
  • Search for “Scheduler”
  • Select the property “yarn.resourcemanager.scheduler.class” to “org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler
  • Add the XML file configuration in the property – “Fair Scheduler XML Advanced Configuration Snippet (Safety Valve)”

  • And then click on “Save Changes”
  • Refresh the Yarn configuration to change the Yarn Scheduler
  • Validate the scheduler configuration from the Resource Manager UI – <bigdataserver-3>:8088/cluster/scheduler

Share this post