Command Line Installation
Also available as:
loading table of contents...

Install the ZooKeeper Package


In a production environment, Hortonworks recommends installing ZooKeeper server on three (or a higher odd number) nodes to ensure that ZooKeeper service is 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


Grant the zookeeper user shell access on Ubuntu and Debian.

usermod -s /bin/bash zookeeper