Database Reference
In-Depth Information
Figure 5-3. Hadoop V2 Capacity scheduler
Note that I have cropped Figure 5-3 so that the used queues are visible. You can see the Map Reduce word-count
job running on the client1.client1a queue. The Capacity scheduler, therefore, is working on Hadoop V2 because it can
accept Hadoop jobs into its queues.
V2 Fair Scheduler
The configuration for the Hadoop V2 Fair scheduler is quite simple and follows the same method as for the V1
configuration. In the yarn-site.xml file within the configuration directory (/etc/hadoop/conf ), you define the
yarn.resourcemanager.scheduler.class property.
<property>
<name>yarn.resourcemanager.scheduler.class</name>
<value>org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler</value>
</property>
Then, you set up the default Fair scheduler configuration file fair-scheduler.xml in the same directory.
 
Search WWH ::




Custom Search