This topic provides an overview of the monitoring for the ZooKeeper service.
An E-MapReduce (EMR) cluster is created, and ZooKeeper is selected from the optional services during the cluster creation. For more information, see Create a cluster.
Go to the ZOOKEEPER Monitoring page
- Log on to the Alibaba Cloud EMR console.
- In the top navigation bar, select the region where your cluster resides and select a resource group based on your business requirements.
- Click the Monitor tab.
- In the left-side navigation pane, click Cluster Monitoring.
- On the Cluster Status page, find the cluster whose monitoring data you want to view, and click Details in the Action column.
- In the left-side navigation pane, choose
The ZOOKEEPER Monitoring page appears.
ZOOKEEPER Monitoring page
The ZOOKEEPER Monitoring page displays recent alerts and exceptions and information of each node where the ZooKeeper service runs.
|Instance Name||The name of the instance where a ZooKeeper process runs. You can click the name to view monitoring details.|
|Leader/Follower||The role of a ZooKeeper process. Valid values:
|Port Status||The port status of a ZooKeeper process. Green indicates that the port is normal. Red indicates that the port is abnormal.|
|CPU||The CPU utilization of a ZooKeeper process.|
|Meory||The memory usage of a ZooKeeper process.|
Monitoring details page for ZooKeeper
- Zookeeper Core Indicators
- Latency: Latency items include Maximum Latency, Minimum Latency, and Average Latency.
- Packets: Packet items include Packets Received and Packets Sent.
- Alive Connections: the number of active connections.
- Outstanding Requests: the number of outstanding requests.
- File Descriptors
- Max file descriptor: the maximum number of file descriptors that a ZooKeeper process can use.
- Open file descriptor: the number of file descriptors that are in use.
- Zookeeper Process History
Parameter Description Date The time when an operation is performed. Start/Restart/Stop The operation type, which can be start, stop, or restart. Auto Resume Indicates whether an operation is automatically resumed by the keepalive mechanism of EMR. The EMR agent automatically resumes components that exit abnormally to ensure service availability. Started By The Linux user who performs an operation. This parameter is left empty for a process in the Stop state. PID The ID of a process generated in an operation. This parameter is left empty for a process in the Stop state. PPID The ID of a parent process generated in an operation. This parameter is left empty for a process in the Stop state. Startup Parameters The detailed start parameters for a process generated in an operation. This parameter is left empty for a process in the Stop state.