Help Center/ MapReduce Service/ User Guide (Ankara Region)/ Alarm Reference/ ALM-14001 HDFS Disk Usage Exceeds the Threshold
Updated on 2024-11-29 GMT+08:00

ALM-14001 HDFS Disk Usage Exceeds the Threshold

Alarm Description

The system checks the HDFS disk usage every 30 seconds and compares the actual HDFS disk usage with the threshold. The HDFS disk usage indicator has a default threshold, this alarm is generated when the value of the disk usage of a Hadoop distributed file system (HDFS) indicator exceeds the threshold.

To change the threshold, choose O&M > Alarm > Thresholds > Name of the desired cluster > HDFS.

When the Trigger Count is 1, this alarm is cleared when the value of the disk usage of HDFS cluster indicator is less than or equal to the threshold. When the Trigger Count is greater than 1, this alarm is cleared when the value of the disk usage of HDFS cluster indicator is less than or equal to 80% of the threshold.

Alarm Attributes

Alarm ID

Alarm Severity

Alarm Type

Service Type

Auto Cleared

14001

Critical (default threshold: 90%)

Major (default threshold: 80%)

Environment

HDFS

Yes

Alarm Parameters

Type

Parameter

Description

Location Information

Source

Specifies the cluster for which the alarm is generated.

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.

NameServiceName

Specifies the NameService for which the alarm is generated.

Additional Information

Trigger Condition

Specifies the threshold triggering the alarm. If the current indicator value exceeds this threshold, the alarm is generated.

Impact on the System

Writing Hadoop distributed file system (HDFS) data is affected.

Possible Causes

The disk space configured for the HDFS cluster is insufficient.

Handling Procedure

Check the disk capacity and delete unnecessary files.

  1. On the FusionInsight Manager portal, choose Cluster > Name of the desired cluster > Services > HDFS.
  2. Click the drop-down menu in the upper right corner of Chart, choose Customize > Disk, and select Percentage of HDFS Capacity to check whether the HDFS disk usage exceeds the threshold.

    • If yes, go to 3.
    • If no, go to 11.

  3. In the Basic Information area, click the NameNode(Active) of the failure NameService and the HDFS WebUI page is displayed.

    By default, the admin user does not have the permissions to manage other components. If the page cannot be opened or the displayed content is incomplete when you access the native UI of a component due to insufficient permissions, you can manually create a user with the permissions to manage that component.

  4. On the HDFS web user interface (WebUI), click Datanodes tab. In the Block pool used column, view the disk usage of all DataNodes to check whether the disk usage of any DataNode exceeds the threshold.

    • If yes, go to 6.
    • If no, go to 11.

  5. Log in to the MRS client node as user root.
  6. Run cd /opt/client to switch to the client installation directory, and run source bigdata_env. If the cluster uses the security mode, perform security authentication. Run kinit hdfs and enter the password as prompted. Please obtain the password from the administrator.
  7. Run the hdfs dfs -rm -r file or directory command to delete unnecessary files.
  8. Check whether the alarm is cleared.

    • If yes, no further action is required.
    • If no, go to 9.

Expand the system.

  1. Expand the disk capacity.
  2. Check whether the alarm is cleared.

    • If yes, no further action is required.
    • If no, go to 11.

Collect fault information.

  1. On the FusionInsight Manager portal, choose O&M > Log > Download.
  2. Select the following nodes in the required cluster from the Service:

    • ZooKeeper
    • HDFS

  3. Click the edit icon in the upper right corner, and set Start Date and End Date for log collection to 10 minutes ahead of and after the alarm generation time, respectively. Then, click Download.
  4. Contact the O&M engineers and send the collected logs.

Alarm Clearance

After the fault is rectified, the system automatically clears this alarm.

Related Information

None.