Help Center/ MapReduce Service/ User Guide (Ankara Region)/ Alarm Reference/ ALM-19009 Direct Memory Usage of the HBase Process Exceeds the Threshold
Updated on 2024-11-29 GMT+08:00

ALM-19009 Direct Memory Usage of the HBase Process Exceeds the Threshold

Alarm Description

The system checks the HBase service status every 30 seconds. The alarm is generated when the direct memory usage of an HBase service exceeds the threshold (90% of the maximum memory).

The alarm is cleared when the direct memory usage is less than the threshold.

Alarm Attributes

Alarm ID

Alarm Severity

Alarm Type

Service Type

Auto Cleared

19009

Major

Quality of service

HBase

Yes

Alarm Parameters

Type

Parameter

Description

Location Information

Source

Specifies the cluster for which the alarm is generated.

ServiceName

Specifies the service name for which the alarm is generated.

RoleName

Specifies the role name for which the alarm is generated.

HostName

Specifies the object (host ID) for which the alarm is generated.

Impact on the System

The available HBase direct memory is insufficient, which may cause node restart. During the node restart, the read/write request delay on the node increases or fails.

Possible Causes

The direct memory of the HBase service is overused or the direct memory is inappropriately allocated.

Handling Procedure

Check direct memory usage.

  1. On the FusionInsight Manager portal, click O&M > Alarm > Alarms and select the alarm whose ID is 19009. Check the RoleName in Location and confirm the IP address of HostName.

    • If the role for which the alarm is generated is HMaster, go to 2.
    • If the role for which the alarm is generated is RegionServer, go to 3.

  2. On the FusionInsight Manager portal, choose Cluster > Name of the desired cluster > Services > HBase > Instance and click the HMaster for which the alarm is generated to go to the Dashboard page. Click the drop-down menu in the Chart area and choose Customize > CPU and Memory > HMaster Heap Memory Usage and Direct Memory Usage Statistics and click OK to check whether the used direct memory of the HBase service reaches 90% of the maximum direct memory specified for HBase.

    • If yes, go to 4.
    • If no, go to 8.

  3. On the FusionInsight Manager portal, choose Cluster > Name of the desired cluster > Services > HBase > Instance and click the RegionServer for which the alarm is generated to go to the Dashboard page. Click the drop-down menu in the Chart area and choose Customize > CPU and Memory > RegionServer Heap Memory Usage and Direct Memory Usage Statistics and click OK to check whether the used direct memory of the HBase service reaches 90% of the maximum direct memory specified for HBase.

    • If yes, go to 4.
    • If no, go to 8.

  4. On the FusionInsight Manager portal, choose Cluster > Name of the desired cluster > Services > HBase > Configurations, and click All Configurations. Choose HMaster/RegionServer > System and check whether XX:MaxDirectMemorySize exists in GC_OPTS.

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

  5. On the FusionInsight Manager portal, choose Cluster > Nameof the desired cluster > Services > HBase > Configurations, and click All Configurations. Choose HMaster/RegionServer > System and delete XX:MaxDirectMemorySize from GC_OPTS.
  6. Check whether the ALM-19008 Heap Memory Usage of the HBase Process Exceeds the Threshold alarm is generated.

    If yes, handle the alarm by referring to ALM-19008 Heap Memory Usage of the HBase Process Exceeds the Threshold.

    If no, go to 8.

  7. Check whether the alarm is cleared.

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

Collect fault information.

  1. On the FusionInsight Manager interface of active and standby clusters, choose O&M > Log > Download.
  2. In the Service in the required cluster drop-down list box, select HBase.
  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 fault logs.

Alarm Clearance

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

Related Information

None.