Help Center/ MapReduce Service/ Component Operation Guide (Normal)/ Using HDFS/ Common Issues About HDFS/ What Should I Do If the HDFS Web UI Cannot Update the Information About the Damaged Data?
Updated on 2024-10-24 GMT+08:00

What Should I Do If the HDFS Web UI Cannot Update the Information About the Damaged Data?

Question

  1. When an error occurs in the directory specified by dfs.datanode.data.dir of DataNode due to permission issue or disk damage, the HDFS web UI does not display information about the damaged data.
  2. After the fault is rectified, the HDFS web UI does not remove the information about the damaged data in a timely manner.

Answer

  1. When an error occurs during file operations, the DataNode checks the disk status. If data is damaged, the DataNode notifies the NameNode, which then displays the issue on the HDFS web UI.
  2. After the fault is rectified, restart the DataNode. When the DataNode is restarted, the system checks the status of all data and uploads the damaged data to the NameNode. The damaged data information will not be displayed only after the DataNode is restarted.