ZooKeeper provides highly reliable centralized service for maintaining configuration information, naming, and providing distributed synchronization and group services. In this recipe, we will outline steps to install ZooKeeper.
Make sure Hadoop has been properly configured. Please refer to the previous recipes in this chapter about installation of Hadoop on a cluster.
Log in to the master node from the Hadoop administrator machine as
hduser with the following command:
Download the ZooKeeper archive file with the following commands:
wget http://www.gtlib.gatech.edu/pub/apache/zookeeper/stable/zookeeper-3.4.5.tar.gz -P ~/repo
Use the following steps to configure ZooKeeper: