ALM-14006 Number of HDFS Files Exceeds the Threshold (For MRS 2.x or Earlier)
Description
The system periodically checks the number of HDFS files every 30 seconds and compares the number of HDFS files with the threshold. This alarm is generated when the system detects that the number of HDFS files exceeds the threshold.
This alarm is cleared when the number of HDFS files is less than or equal to the threshold.
Attribute
Alarm ID |
Alarm Severity |
Auto Clear |
---|---|---|
14006 |
Major |
Yes |
Parameters
Parameter |
Description |
---|---|
ServiceName |
Specifies the service for which the alarm is generated. |
RoleName |
Specifies the role for which the alarm is generated. |
HostName |
Specifies the host for which the alarm is generated. |
NSName |
Specifies the NameService service for which the alarm is generated. |
Trigger condition |
Generates an alarm when the actual indicator value exceeds the specified threshold. |
Impact on the System
Disk storage space is insufficient, which may result in data import failure. The performance of the HDFS system is affected.
Possible Causes
The number of HDFS files exceeds the threshold.
Procedure
- Check whether unnecessary files exist in the system.
- Use the client on the cluster node and run the hdfs dfs -ls file or directory path command to check whether the file or directory can be deleted.
- Run the hdfs dfs -rm -r file or directory path command. Delete unnecessary files, wait 5 minutes, and check whether the alarm is cleared.
- If yes, no further action is required.
- If no, go to 2.a.
- Check the number of files in the system.
- On MRS Manager, choose System > Threshold Configuration.
- In the navigation tree on the left, choose Services > HDFS > HDFS File > Total Number of Files.
- In the right pane, modify the threshold in the rule based on the number of current HDFS files.
To check the number of HDFS files, choose Services > HDFS, click Customize in the Real-Time Statistics area on the right, and select the HDFS File monitoring item.
- Wait 5 minutes and check whether the alarm is cleared.
- If yes, no further action is required.
- If no, go to 3.
- Collect fault information.
- On MRS Manager, choose .
- Contact the O&M engineers and send the collected logs.
Reference
None
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.
For any further questions, feel free to contact us through the chatbot.
Chatbot