1. Install the ZooKeeper Package

[Note]Note

In a production environment, Hortonworks recommends installing Zookeeper server on three (or a higher odd number) nodes to ensure that Zookeeper service will be available.

On all nodes of the cluster that you have identified as Zookeeper servers, type:

  • For RHEL/CentOS/Oracle Linux

    yum install zookeeper-server

  • For SLES

    zypper install zookeeper

  • For Ubuntu and Debian:

    apt-get install zookeeper

[Note]Note

Grant the zookeeper user shell access on Ubuntu and Debian.

usermod -s /bin/bash zookeeper


loading table of contents...