ALM-18015 JobHistoryServer Direct Memory Usage Exceeds the Threshold
Description
The system checks the direct memory usage of the MapReduce service every 30 seconds. This alarm is generated when the direct memory usage of a JobHistoryServer instance exceeds the threshold (90% of the maximum memory).
The alarm is cleared when the direct memory usage is less than the threshold.
Attribute
Alarm ID |
Alarm Severity |
Automatically Cleared |
---|---|---|
18015 |
Major |
Yes |
Parameters
Name |
Meaning |
---|---|
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. |
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 MapReduce service is insufficient, a memory overflow occurs and the service breaks down.
Possible Causes
The direct memory of the JobHistoryServer instance is overused or the direct memory is inappropriately allocated.
Procedure
Check the direct memory usage.
- On the FusionInsight Manager portal, choose O&M > Alarm > Alarms > ALM-18015 JobHistoryServer Direct Memory Usage Exceeds the Threshold > Location to check the IP address of the instance for which the alarm is generated.
- On the FusionInsight Manager portal, choose Cluster > Name of the desired cluster > Services > MapReduce > Instance > JobHistoryServer (IP address for which the alarm is generated). Click the drop-down menu in the upper right corner of Chart, choose Customize > Memory Usage Status of JobHistoryServer to check the direct memory usage.
- Check whether the used direct memory of JobHistoryServer reaches 90% of the maximum direct memory specified for JobHistoryServer by default.
- On the FusionInsight Manager portal, choose Cluster > Name of the desired cluster > Services > MapReduce > Configurations > All Configurations > JobHistoryServer > System to check whether "-XX:MaxDirectMemorySize" exists in the GC_OPTS parameter.
- In the GC_OPTS parameter, delete "-XX:MaxDirectMemorySize".
- Save the configuration and restart the JobHistoryServer instance.
During the restart of JobHistoryServer, the status query of tasks such as Hive is affected, and the query result may be inaccurate.
- Check whether the ALM-18009 Heap Memory Usage of JobHistoryServer Exceeds the Threshold exists.
- If yes, handle the alarm by referring to ALM-18009 Heap Memory Usage of JobHistoryServer Exceeds the Threshold.
- If no, go to 8.
- Check whether the alarm is cleared.
- If yes, no further action is required.
- If no, go to 9.
Collect fault information.
- On the FusionInsight Manager portal, choose O&M > Log > Download.
- Select JobHistoryServer in the required cluster from the Service.
- 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.
- Contact the O&M personnel and send the collected logs.
Alarm Clearing
After the fault is rectified, the system automatically clears this alarm.
Related Information
None
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot