• MapReduce Service

mrs
  1. Help Center
  2. MapReduce Service
  3. User Guide
  4. MRS Manager Operation Guide
  5. Alarm Reference
  6. ALM-14003 Number of Lost HDFS Blocks Exceeds the Threshold

ALM-14003 Number of Lost HDFS Blocks Exceeds the Threshold

Description

The system checks the number of lost blocks every 30 seconds and compares it with the threshold. This alarm is generated when the number of lost blocks exceeds the threshold and is cleared when the number is less than or equal to the threshold.

Attribute

Alarm ID

Alarm Severity

Automatically Cleared

14003

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

Data stored in HDFS is lost. HDFS may enter the safe mode and cannot provide write services. Lost block data cannot be restored.

Possible Causes

  • The DataNode instance is abnormal.
  • Data is deleted.

Procedure

  1. Check the DataNode instance.

    1. On the MRS Manager portal, choose Service > HDFS > Instance.
    2. Check whether the status of all DataNode instances is Good.
    3. Restart the DataNode instance. Check whether the DataNode instance restarts successfully.
      • If yes, go to 2.b.
      • If no, go to 2.a.

  2. Delete the damaged file.

    1. Use the client on the cluster node. Run the hdfs fsck / -delete command to delete the lost file. Then rewrite the file and recover the data.
    2. Wait 5 minutes and check whether the alarm is cleared.
      • If yes, no further action is required.
      • If no, go to Step 3.

  3. Collect fault information.

    1. On MRS Manager, choose System > Export Log.
    2. Contact technical support engineers for help, detail see technical support.

Related Information

N/A