Skip to content

Building Apache Zeppelin

aborkar-ibm edited this page Jun 4, 2021 · 27 revisions

Building Apache Zeppelin

General Notes:

  • When following the steps below please use a standard permission user unless otherwise specified.
  • A directory /<source_root>/ will be referred to in these instructions, this is a temporary writable directory anywhere you'd like to place it.

Apache Zeppelin binaries are available and can be downloaded from here. To use these binaries, different Java flavors can be installed on mentioned distributions. ​ Note: Apache Zeppelin(v0.9.0) was verified at the time of creation of these instructions

Step 1: Install Java

 export SOURCE_ROOT=/<source_root>/
  • Ubuntu (18.04, 20.04, 20.10) ​
    • With Open JDK

      sudo apt-get update
      sudo apt-get install -y openjdk-8-jdk-headless openjdk-8-jdk
      
    • With AdoptOpenJDK (OpenJDK11 with Eclipse OpenJ9)

      sudo apt-get -y install wget tar 
      • Download and install AdoptOpenJDK (OpenJDK11 with Eclipse OpenJ9) from here.

Step 2: Set Environment Variables

export JAVA_HOME=<Path to Java>
export PATH=$JAVA_HOME/bin:$PATH

Step 3: Start Apache Zeppelin

Extract Apache Zeppelin binary tar to $SOURCE_ROOT and follow steps given below.

cd $SOURCE_ROOT/<Apache Zeppelin_binary_folder>/
bin/zeppelin-daemon.sh start      # Start the server
bin/zeppelin-daemon.sh status     # Check status of server
bin/zeppelin-daemon.sh stop       # Stop the server

Open http://<ip_address>:8080/ in your browser to access Web UI.

Note: In order to access Zeppelin UI through web browser, you might need to change ZEPPELIN_ADDR to 0.0.0.0 by export ZEPPELIN_ADDR="0.0.0.0". ​

References

Clone this wiki locally