ALM-14021 NameNode Average RPC Processing Time Exceeds the Threshold
Alarm Description
The system checks the average RPC processing time of NameNode every 30 seconds, and compares the actual average RPC processing time with the threshold. This alarm is generated when the system detects that the average RPC processing time exceeds the threshold for several consecutive times (10 times by default).
You can choose O&M > Alarm > Thresholds > Name of the desired cluster > HDFS to change the threshold.
When the Trigger Count is 1, this alarm is cleared when the average RPC processing time of NameNode is less than or equal to the threshold. When the Trigger Count is greater than 1, this alarm is cleared when the average RPC processing time of NameNode is less than or equal to 90% of the threshold.
Alarm Attributes
Alarm ID |
Alarm Severity |
Alarm Type |
Service Type |
Auto Cleared |
---|---|---|---|---|
14021 |
Critical (default threshold: 200ms) Major (default threshold: 100ms) |
Quality of service |
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 service 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
NameNode cannot process the RPC requests from HDFS clients, upper-layer services that depend on HDFS, and DataNode in a timely manner. Specifically, the services that access HDFS run slowly or the HDFS service is unavailable.
Possible Causes
- The CPU performance of NameNode nodes is insufficient and therefore NameNode nodes cannot process messages in a timely manner.
- The configured NameNode memory is too small and frame freezing occurs on the JVM due to frequent full garbage collection.
- NameNode parameters are not configured properly, so NameNode cannot make full use of system performance.
Handling Procedure
Obtain alarm information.
- On the FusionInsight Manager portal, choose O&M > Alarm > Alarms. In the alarm list, click the alarm.
- Check the alarm. Obtain the host name of the NameNode node involved in this alarm from the HostName information of Location. Then obtain the name of the NameService node involved in this alarm from the NameServiceName information of Location.
Check whether the threshold is too small.
- Check the status of the services that depend on HDFS. Check whether the services run slowly or task execution times out.
- On the FusionInsight Manager portal, choose Cluster > Name of the desired cluster > Services > HDFS. Click the drop-down menu in the upper right corner of Chart, choose Customize > RPC, and select Average Time of Active NameNode RPC Processing and click OK.
- On the Average Time of Active NameNode RPC Processing monitoring page, obtain the value of the NameService node involved in this alarm.
- On the FusionInsight Manager portal, choose O&M > Alarm > Thresholds > Name of the desired cluster > HDFS. Locate Average Time of Active NameNode RPC Processing and click the Modify in the Operation column of the default rule. The Modify Rule page is displayed. Change Threshold to 150% of the peak value within one day before and after the alarm is generated. Click OK to save the new threshold.
- Wait for 5 minutes and then check whether the alarm is automatically cleared.
- If yes, no further action is required.
- If no, go to 8.
Check whether the CPU performance of the NameNode node is sufficient.
- On the FusionInsight Manager portal, click O&M > Alarm >Alarms and check whether ALM-12016 CPU Usage Exceeds the Threshold is generated for the NameNode node.
- Handle ALM-12016 CPU Usage Exceeds the Threshold by taking recommended actions.
- Wait for 10 minutes and check whether alarm 14021 is automatically cleared.
- If yes, no further action is required.
- If no, go to 11.
Check whether the memory of the NameNode node is too small.
- On the FusionInsight Manager portal, click O&M > Alarm >Alarms and check whether ALM-14007 HDFS NameNode Heap Memory Usage Exceeds the Threshold is generated for the NameNode node.
- Handle ALM-14007 HDFS NameNode Heap Memory Usage Exceeds the Threshold by taking recommended actions.
- Wait for 10 minutes and check whether alarm 14021 is automatically cleared.
- If yes, no further action is required.
- If no, go to 14.
Check whether NameNode parameters are configured properly.
- On the FusionInsight Manager portal, choose Cluster > Name of the desired cluster > Services > HDFS > Configurations > All Configurations. Search for parameter dfs.namenode.handler.count and view its value. If the value is less than or equal to 128, change it to 128. If the value is greater than 128 but less than 192, change it to 192.
- Search for parameter ipc.server.read.threadpool.size and view its value. If the value is less than 5, change it to 5.
- Click Save and click OK.
- On the Instance page of HDFS, select the standby NameNode of NameService involved in this alarm and choose More > Restart Instance. Enter the password and click OK. Wait until the standby NameNode is started up.
- On the Instance page of HDFS, select the active NameNode of NameService involved in this alarm and choose More > Restart Instance. Enter the password and click OK. Wait until the active NameNode is started up.
- Wait for 1 hour and then check whether the alarm is automatically cleared.
- If yes, no further action is required.
- If no, go to 20.
Collect fault information.
- On the FusionInsight Manager portal, choose O&M > Log > Download.
- Select the following node in the required cluster from the Service.
- HDFS
- 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.
- 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.
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