Help Center/
MapReduce Service/
User Guide (ME-Abu Dhabi Region)/
Troubleshooting/
Using HDFS/
A Large Number of Blocks Are Lost in HDFS due to the Time Change Using ntpdate
Updated on 2022-12-08 GMT+08:00
A Large Number of Blocks Are Lost in HDFS due to the Time Change Using ntpdate
Symptom
- A user uses ntpdate to change the time for a cluster that is not stopped. After the time is changed, HDFS enters the safe mode and cannot be started.
- After the system exits the safe mode and starts, about 1 TB data is lost during the hfck check.
Cause Analysis
- A large number of blocks are lost on the native NameNode page.
Figure 1 Block loss
- DataNode information on the native page shows that the number of displayed DataNode nodes is 10 less than that of actual DataNode nodes.
Figure 2 Checking the number of DataNodes
- Check the DataNode run log file /var/log/Bigdata/hdfs/dn/hadoop-omm-datanode-hostname.log. The following error information is displayed:
Major error information: Clock skew too great
Figure 3 DateNode run log error
Solution
- Change the time of the 10 DataNodes that cannot be viewed on the native page.
- On Manager, restart the DataNode instances.
Parent topic: Using HDFS
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot