ZooKeeper

Setting up Apache ZooKeeper cluster

What is ZooKeeper (very rough) Apache ZooKeeper storage hierarchal structure. Refer to ZNode. https://de.slideshare.net/sauravhaloi/introduction-to-apache-zookeeper Install ZooKeeper My environment Ubuntu 20.04 Pre-installation Install java first. sudo apt update sudo apt upgrade -y sudo apt install -y openjdk-11-jdk Crete ZooKeeper user. sudo useradd -r -s /bin/bash zk Install ZooKeeper on nodes Download link https://zookeeper.apache.org/releases.html sudo su cd /opt curl https://mirror.netcologne.de/apache.org/zookeeper/zookeeper-3.6.2/apache-zookeeper-3.6.2-bin.tar.gz -O tar xvf apache-zookeeper-3.6.2-bin.tar.gz mkdir /var/lib/zookeeper cd apache-zookeeper-3.6.2-bin cp conf/zoo_sample.cfg conf/zoo.