hadoop slave node storage configuration
<!-- slave node storage configuration -->
<!-- /etc/hadoop - configuration directory -->
<!-- /etc/hadoop/hdfs-site.xml - configuration file for storage hdfs -->
<!-- Create a /dn1 directory -->
<configuration>
<property>
<name>dfs.data.dir</name>
<value>/dn1</value>
</property>
</configuration>
<!-- /etc/hadoop/core-site.xml - configuration file for ip and port -->
<configuration>
<property>
<name>fs.default.name</name>
<value>hdfs://IP_OF_MASTER:9001</value>
</property>
</configuration>
<!-- Run the below command to start to hadoop daemon -->
hadoop-daemon.sh start datanode
<!-- remove and re-create the "/dn" if unable to connect -->