Help Center> MapReduce Service> User Guide (Kuala Lumpur Region)> MRS Cluster Component Operation Gudie> Using HDFS> FAQ> HDFS WebUI Cannot Properly Update Information About Damaged Data
Updated on 2022-08-12 GMT+08:00

HDFS WebUI Cannot Properly Update Information About Damaged Data

Question

  1. When errors occur in the dfs.datanode.data.dir directory of DataNode due to the permission or disk damage, HDFS WebUI does not display information about damaged data.
  2. After errors are restored, HDFS WebUI does not timely remove related information about damaged data.

Answer

  1. DataNode checks whether the disk is normal only when errors occur in file operations. Therefore, only when a data damage is detected and the error is reported to NameNode, NameNode displays information about the damaged data on HDFS WebUI.
  2. After errors are fixed, you need to restart DataNode. During restarting DataNode, all data states are checked and damaged data information is uploaded to NameNode. Therefore, after errors are fixed, damaged data information is not displayed on the HDFS WebUI only by restarting DataNode.