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

ALM-18014 NodeManager Direct Memory Usage Exceeds the Threshold

Alarm Description

The system checks the direct memory usage of the Yarn service every 30 seconds. This alarm is generated when the direct memory usage of a NodeManager instance exceeds the threshold.

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

18014

Critical (default threshold is 95% of the maximum memory size.)

Major (default threshold is 90% of maximum memory)

Quality of service

Yarn

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.

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

If the available direct memory of the Yarn service is insufficient, a memory overflow occurs and the service breaks down.

Possible Causes

The direct memory of the NodeManager instance is overused or the direct memory is inappropriately allocated.

Handling Procedure

Check the direct memory usage.

  1. On the FusionInsight Manager portal, choose O&M > Alarm > Alarms > ALM-18014 NodeManager Direct Memory Usage Exceeds the Threshold > Location to check the IP address of the instance for which the alarm is generated.
  2. On the FusionInsight Manager portal, choose Cluster > Name of the desired cluster > Services > Yarn > Instance > NodeManager (IP address for which the alarm is generated). Click the drop-down menu in the upper right corner of Chart, choose Customize > Resource > Percentage of Used Memory of the NodeManager to check the direct memory usage.
  3. Check whether the used direct memory of NodeManager reaches 90% of the maximum direct memory specified for NodeManager by default.

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

  4. On the FusionInsight Manager portal, choose Cluster > Name of the desired cluster > Services > Yarn > Configurations > All Configurations> NodeManager > System to check whether "-XX:MaxDirectMemorySize" exists in the GC_OPTS parameter.

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

  5. In the GC_OPTS parameter, delete "-XX:MaxDirectMemorySize".
  6. Save the configuration and restart the NodeManager instance.
  7. Check whether the ALM-18018 NodeManager Heap Memory Usage Exceeds the Threshold exists.

    • If yes, handle the alarm by referring to ALM-18018 NodeManager Heap Memory Usage Exceeds the Threshold.
    • If no, go to 8.

  8. Check whether the alarm is cleared.

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

Collect fault information.

  1. On the FusionInsight Manager portal, choose O&M > Log > Download.
  2. Select NodeManager in the required cluster from the Service.
  3. Click 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.