Updated on 2024-07-19 GMT+08:00

How Do I Check Which ZooKeeper Instance Is a Leader?

Question

How to check whether the role of a ZooKeeper instance is a leader or follower.

Answer

Log in to Manager and choose Cluster > Name of the desired cluster > Service > ZooKeeper > Instance. On the displayed page, click the name of the quorumpeer instance. On the displayed instance details page, view the server status of the instance.