Support Questions
Find answers, ask questions, and share your expertise

how to check zookeeper running status?

Explorer

Hi, Could someone tell me how to check zookeeper running status apart using commands (ps -ef | grep zoo) or #./zkService.sh status

2 REPLIES 2

Re: how to check zookeeper running status?

Ambari and ps command can show you that ZK service and ZK process is running on respective nodes, but only after "zkService.sh status" shows you that one node is the leader and the others are followers you can be absolutely certain that ZK is running and fully functional. You can run it using pdsh and targeting only ZK nodes.

Re: how to check zookeeper running status?

Explorer

@Predrag Minovic After running the PS this is the output. Is Zookeeeper running ? if not how can I run zookeeper?

110042-1563909194150.png