Posts: 96
Registered: ‎05-19-2016

Bad : Canary test failed to create an ephemeral znode

[ Edited ]

Although I have added zookeeper through CM dashboard, I had to create the myid file and data directory manually. Finally the service started on my host machines, however I am still getting:


Bad : Canary test failed to create an ephemeral znode.
I also had to change permissions of var/lib/zookeeper folder to zookeeper-user which was earlier set to root. I have a feeling this error as well is because of some permission issue. How do I fix this?