Remove a DataNode
Before removing a DataNode, ensure that all the prerequisites for removal are satisfied.
- The number of DataNodes in your cluster must be greater than or equal to the replication
factor you have configured for HDFS. (This value is typically 3.)
In order to satisfy this requirement, add the DataNode role on other hosts as required and start the role instances before removing any DataNodes.
- Ensure the DataNode that is to be removed is running.