We have seen the configuration of MapReduce and HDFS. To enable YARN, first you need to inform Hadoop that you are using YARN as your framework, so you need to add the following entries in mapred-site.xml:
<configuration>
<property>
<name>mapreduce.framework.name</name>
<value>yarn</value>
</property>
</configuration>
Please refer to Chapter 2, Planning and Setting Up Hadoop Clusters, for additional properties and steps for configuring YARN. Now, let's look at key configuration elements in yarn-site.xml that you would be looking at day by day:
Property Name |
Default Value |
Description |
yarn.resourcemanager |
0.0.0.0 |
Specify the hostname of resource manager. |
yarn.resourcemanager |
|
IP... |