Replacing the disk on the DataNode host

Official website operation steps:

Replacing a Disk on a DataNode Host
If one of your DataNode hosts experiences a disk failure, follow this process to replace the disk:
Stop managed services.
Decommission the DataNode role instance.
Replace the failed disk.
Recommission the DataNode role instance.
Run the HDFS fsck utility to validate the health of HDFS. The utility normally reports over-replicated blocks immediately after a node is reintroduced to the cluster, which is automatically corrected over time.
Start managed services.

translate:

Replacing a disk on
a DataNode host If one of the DataNode hosts experiences a disk failure, follow the procedure to replace the disk:
Stop hosting services.
Deactivate the DataNode role instance.
Replace the failed disk.
Recall the DataNode role instance.
Run the HDFS fsck utility to verify the health of HDFS. Over-replicated blocks are typically reported by the utility immediately after a node is reintroduced into the cluster, and corrected automatically over time.
Start the hosting service.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325338325&siteId=291194637