Support Questions

Find answers, ask questions, and share your expertise

Zookeeper Issue

avatar
Expert Contributor

Canary test of client connection to ZooKeeper and execution of basic operations succeeded though a session could not be established with one or more servers. Need help to know what to do in such situation?

1 ACCEPTED SOLUTION

avatar
Community Manager
Check the ZooKeeper "Maximum Client Connections" (maxClientCnxns) property.
This often defaults to 60 and should be raised to 300.

This value sets a per-host limit on connections, so if there are more
connections to the ZooKeeper from processes on an individual host it will
begin rejecting connections.

The canary test is to connect to the ZooKeeper, create a znode, and delete
the znode.



David Wilder, Community Manager


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

Learn more about the Cloudera Community:

Terms of Service

Community Guidelines

How to use the forum

View solution in original post

10 REPLIES 10

avatar
Yes, by deleting it from the list, Cloudera Manager will automatically
remove it from the ensemble and update the config files of the other three
servers. They would need a restart to see the change.

Regards,
Gautam Gopalakrishnan