Database Reference
In-Depth Information
<property>
<name>
mapreduce.framework.name
</name>
<value>
yarn
</value>
</property>
<property>
<name>
yarn.resourcemanager.address
</name>
<value>
localhost:8032
</value>
</property>
</configuration>
Finally,
hadoop-cluster.xml
contains details of the cluster's namenode and YARN re-
source manager addresses (in practice, you would name the file after the name of the
cluster, rather than “cluster” as we have here):
<?xml version="1.0"?>
<configuration>
<property>
<name>
fs.defaultFS
</name>
<value>
hdfs://namenode/
</value>
</property>
<property>
<name>
mapreduce.framework.name
</name>
<value>
yarn
</value>
</property>
<property>
<name>
yarn.resourcemanager.address
</name>
<value>
resourcemanager:8032
</value>
</property>
</configuration>
You can add other configuration properties to these files as needed.