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

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

[Note]Note

Grant the zookeeper user shell access on Ubuntu and Debian.

usermod -s /bin/bash zookeeper