Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
hdfs [2016/04/21 08:27]
steve
hdfs [2016/04/21 08:32]
steve
Line 94: Line 94:
 <​code>​ <​code>​
 hdfs dfsadmin -refreshNamenodes hdfs dfsadmin -refreshNamenodes
 +</​code>​
 +
 +The HDFS node will be decomissioned,​ which will take some time. You can view the status either through the web interface, or using ''​hdfs dfsadmin'':​
 +
 +<​code>​
 +hdfs dfsadmin -report
 +</​code>​
 +
 +Once the node is completely decommissioned,​ you can remove it from the ''​slaves''​ file in your Hadoop configuration directory, and restart HDFS:
 +
 +<​code>​
 +stop-dfs.sh
 +start-dfs.sh
 </​code>​ </​code>​