Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Pre-requisites

  • OpenJDK8
  • Zookeeper

Install OpenJDK

$sudo$ sudo apt-get install openjdk-8-jdk 

...

Make sure you have the right OpenJDK version 

$java $ java -version

It should display 1.8.0_111

Set JAVA_HOME

$export$ export JAVA_HOME=`readlink -f /usr/bin/java sed "s:jre/bin/java::"`


Building Zookeeper


Edit the bashrc for the zookeeper user via setting up the following Zookeeper environment variables.

$ export ZOO_LOG_DIR=/var/log/zookeeper