Ensure that the following property is defined in your
hdfs-site.xmlfile.<property> <name>dfs.hosts.exclude</name> <value>$HADOOP_CONF_DIR/dfs.exclude</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
yarn-site.xmlfile.<property> <name>yarn.resourcemanager.nodes.exclude-path</name> <value>$HADOOP_CONF_DIR/yarn.exclude</value> <final>true</final> </property>where
$HADOOP_CONF_DIRis the directory for storing the Hadoop configuration files. For example,/etc/hadoop/conf.

