Help Center > > User Guide> MRS Manager Operation Guide (Applicable to 2.x and Earlier Versions)> Alarm Reference (Applicable to Versions Earlier Than MRS 3.x)> ALM-14006 Number of HDFS Files Exceeds the Threshold

ALM-14006 Number of HDFS Files Exceeds the Threshold

Updated at: Aug 17, 2021 GMT+08:00

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

  1. Check whether unnecessary files exist in the system.

    1. 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.
      • If yes, go to 1.b.
      • If no, go to 2.a.
    2. 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.

  2. Check the number of files in the system.

    1. On MRS Manager, choose System > Threshold Configuration.
    2. In the navigation tree on the left, choose Services > HDFS > HDFS File > Total Number of Files.
    3. 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.

    4. Wait 5 minutes and check whether the alarm is cleared.
      • If yes, no further action is required.
      • If no, go to 3.

  3. Collect fault information.

    1. On MRS Manager, choose System > Export Log.
    2. Contact the O&M personnel and send the collected logs.

Reference

None

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel