O'Reilly logo
  • Huajun Gu thinks this is interesting:

<configuration> <property> <name>yarn.nodemanager.aux-services</name> <value>mapreduce_shuffle</value> </property> <property> <name>yarn.nodemanager.aux-services.mapreduce.shuffle.class</name> <value>org.apache.hadoop.mapred.ShuffleHandler</value> </property> </configuration>

From

Cover of Hadoop Real-World Solutions Cookbook - Second Edition

Note

<configuration>
<property>
<name>dfs.replication</name>
<value>1</value>
</property>

&lt;property&gt;
    &lt;name&gt;dfs.name.dir&lt;/name&gt;
    &lt;value&gt;/usr/local/store/hdfs/namenode&lt;/value&gt;
&lt;/property&gt;

&lt;property&gt;
    &lt;name&gt;dfs.data.dir&lt;/name&gt;
    &lt;value&gt;/usr/local/store/hdfs/datanode&lt;/value&gt;
&lt;/property&gt;

</configuration>

Use this instead.