ALM-45008 Query Latency of HetuEngine Compute Instances Exceeds the Threshold
This section applies to MRS 3.5.0 or later.
Alarm Description
The system checks the query latency of HetuEngine compute instances every 30 seconds. This alarm is generated when the query latency of a HetuEngine compute instance is greater than or equal to 60 seconds.
This alarm is cleared when the query latency is less than 60s.
Alarm Attributes
Alarm ID |
Alarm Severity |
Auto Cleared |
---|---|---|
45008 |
Warning |
Yes |
Alarm Parameters
Type |
Parameter |
Description |
---|---|---|
Location Information |
Source |
Specifies the cluster for which the alarm was generated. |
ServiceName |
Specifies the service for which the alarm was generated. |
|
RoleName |
Specifies the role for which the alarm was generated. |
|
HostName |
Specifies the host for which the alarm was generated. |
|
Additional Information |
Running Queries Delay |
Specifies the tenant name of the compute instance for which the alarm was generated and how much the threshold is exceeded. |
Impact on the System
If the query latency of the HetuEngine compute instance exceeds the threshold, the SQL response of the service is slow.
Possible Causes
- The compute instance specification is too small.
- Large SQL tasks occupy too many compute resources. No resource is available for other tasks, and the compute instance cannot respond quickly. As a result, tasks are stacked.
Handling Procedure
Check whether compute instance resources are properly configured.
- Log in to FusionInsight Manager as an administrator who can access the HetuEngine web UI.
- Choose O&M > Alarm > Alarms. In the right pane, click alarm Query Latency of HetuEngine Compute Instances Exceeds the Threshold, and view and record the tenant name in Additional Information.
- Choose Cluster > Services > HetuEngine. In the Basic Information area on the Dashboard page, click the link next to HSConsole Web UI. The HSConsole page is displayed.
- On the Compute Instance page, click Configure in the Operation column of the tenant to which the compute instance belongs. Check whether the resources configured for the compute instance are proper. (The the minimum resources are used by default. You can adjust the configuration based on site requirements.)
- Return to the compute instance list, click Stop Instances in the Operation column, and stop instances as prompted.
Tasks submitted to the stopped compute instances will be interrupted.
- Click Configure, add resources to the target compute instance based on site requirements, and click OK. Click Start Instances and start instances as prompted.
- Wait 2 minutes and check whether the alarm is cleared.
- If yes, no further action is required.
- If no, go to 8.
Check whether there are large SQL tasks.
- On the Compute Instances page, expand the instances of the tenant and click LINK in the WebUI column of a compute instance to view the status of all tasks.
- In the Sort column, select Execution Time to sort the running tasks and check whether there are tasks that have been running for hours.
- Stop the tasks that have been running for a long time based on service requirement and optimize the service SQL statements.
- Wait 2 minutes and check whether the alarm is cleared.
- If yes, no further action is required.
- If no, go to 12.
Collect fault information.
- On FusionInsight Manager, choose O&M. In the navigation pane on the left, choose Log > Download.
- Expand the Service drop-down list, select HetuEngine for the target cluster, and click OK.
- Expand the Hosts drop-down list. In the Select Host dialog box that is displayed, select the hosts to which the role belongs, and click OK.
- 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 O&M engineers and provide the collected logs.
Alarm Clearance
This alarm is automatically cleared after the fault is rectified.
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