Skip to main content
Manoj690
Silver ⭐️⭐️⭐️
Jan 31, 2020 10:39 AM UTC
Solved

Zookeeper not starting

\ZooKeeper Server Process Connection failed: Expected response imok, Actual response ruok is not executed because it is not in the whitelist. to XXXXXXXXXXX:2181 when i start zookeeper on ambari its successfully stated but service is stopped immediately. its showing above error /

Shelton
SheltonAnswer
Gold ⭐️⭐️⭐️
Jan 31, 2020 1:58 PM UTC

@Manoj690 

It's always a good idea to share the HDP and Zk version plus the zk logs in /var/log/* having said that can you share your zoo.cfg ?
If you really need enable all four letter word commands by default, you can use the asterisk option so you don't have to include every command one by one in the list.See below

4lw.commands.whitelist=*

As you have not shared your logs that's a starting point, then restart your zookeeper and let me know!

1 reply

Shelton
SheltonAnswer
Gold ⭐️⭐️⭐️
Jan 31, 2020 1:58 PM UTC

@Manoj690 

It's always a good idea to share the HDP and Zk version plus the zk logs in /var/log/* having said that can you share your zoo.cfg ?
If you really need enable all four letter word commands by default, you can use the asterisk option so you don't have to include every command one by one in the list.See below

4lw.commands.whitelist=*

As you have not shared your logs that's a starting point, then restart your zookeeper and let me know!

Translate