Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

how to check zookeeper running status?

avatar
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

avatar
Master Guru

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.

avatar
Explorer

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

110042-1563909194150.png