Starting Zookeeper service
You must configure the Zookeeper server hosts to start the Zookeeper service.
-
Add zookeeper.snapshot.trust.empty=true to your server
configuration file.
This can be set in the zoo.cfg advanced configuration snippet in the Cloudera Manager UI.
-
Start the server.
Cloudera recommends removing the zookeeper.snapshot.trust.empty property after you have a working server.
-
Remove or move the myid file from the Zookeeper server
hosts.
The path is ${dataDir}/myid. For example, # mv /hadoop/zookeeper/myid hadoop/zookeeper/myid.bak.
It is possible that the myid file is in a different path. To determine the exact path, check Zookeeper service data directory configuration value in the Cloudera Manager UI.
- Start the Zookeeper service from Cloudera Manager.