October 2018
Beginner
220 pages
5h 33m
English
HDFS allows users to hot swap its DataNode in the live fashion. The associated Hadoop JIRA issue is listed here (https://issues.apache.org/jira/browse/HDFS-664). Please note that hot swapping has to be supported by the underlying hardware system. If this is not supported, you may have to restart the affected DataNode, after replacing its storage device. However, before Hadoop gets into replication mode, you would need to provide the new corrected DataNode volume storage. The new volume should be formatted and, once it's done, the user should update dfs.datanode.data.dir in the configuration. After this, the user should run the reconfiguration using the dfsadmin command as listed here:
hrishikesh@base0:/$ ./bin/hdfs dfsadmin -reconfig ...
Read now
Unlock full access