Ensure that the following property is defined in your
hdfs-site.xmlfile.<property> <name>dfs.hosts.exclude</name> <value>$HADOOP_CONF_DIR/excludes</value> <final>true</final> </property>where
$HADOOP_CONF_DIRis the directory for storing the Hadoop configuration files. For example,/etc/hadoop/conf.Ensure that the following property is defined in your
mapred-site.xmlfile.<property> <name>mapred.hosts.exclude </name> <value>$HADOOP_CONF_DIR/excludes</value> <final>true</final> </property>where
$HADOOP_CONF_DIRis the directory for storing the Hadoop configuration files. For example,/etc/hadoop/conf.

