1.etc/hadoop/mapred-site.xml:
<configuration>
<property>
<name>mapreduce.framework.name</name>
<value>yarn</value>
</property>
</configuration>
etc/hadoop/yarn-site.xml:
<configuration>
<property>
<name>yarn.nodemanager.aux-services</name>
<value>mapreduce_shuffle</value>
</property>
</configuration>
2.Start ResourceManager daemon and NodeManager daemon:
$ sbin/start-yarn.sh
3.Browse the web interface for the ResourceManager; by default it is available at:
ResourceManager - http://localhost:8088/
4.Run a MapReduce job.
5.When you’re done, stop the daemons with:
$ sbin/stop-yarn.sh