Starting Zookeeper service

You must configure the Zookeeper server hosts to start the Zookeeper service.

  1. Add to your server configuration file.

    This can be set in the zoo.cfg advanced configuration snippet in the Cloudera Manager UI.

  2. Start the server.

    Cloudera recommends removing the property after you have a working server.

  3. 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.

  4. Start the Zookeeper service from Cloudera Manager.