The system checks the ZooKeeper service status every 30 seconds. The alarm is generated when the memory usage of a ZooKeeper instance exceeds the threshold (80% of the maximum memory).
The alarm is cleared when the memory usage is less than the threshold.
Alarm ID |
Alarm Severity |
Auto Clear |
---|---|---|
13002 |
Major |
Yes |
Parameter |
Description |
---|---|
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 |
Generates an alarm when the actual indicator value exceeds the specified threshold. |
If the available ZooKeeper memory is insufficient, a memory overflow occurs and the service breaks down.
The memory usage of the ZooKeeper instance is overused or the memory is inappropriately allocated.
For MRS 1.7.2 or earlier, log in to MRS Manager and choose Services > ZooKeeper > Instance > quorumpeer (IP address of the instance for which the alarm is generated) > Customize > ZooKeeper Heap And Direct Buffer Resource. Check the heap memory usage.
For MRS 1.7.2 or earlier, log in to MRS Manager and choose Services > ZooKeeper > Instance > quorumpeer (IP address of the instance for which the alarm is generated) > Customize > ZooKeeper Heap And Direct Buffer Resource. Check the direct buffer memory usage.
Increase the value of -XX:MaxDirectMemorySize in GC_OPTS as required.
For MRS 1.7.2 or earlier, log in to MRS Manager, choose Services > ZooKeeper > Service Configuration. Set Type to All and choose quorumpeer > System.
None