Building Apache Zeppelin - linux-on-ibm-z/docs GitHub Wiki

Building Apache Zeppelin

​The instructions provided below specify the steps to build Apache Zeppelin 0.11.1 on Linux on IBM Z for following distributions:

  • Ubuntu (20.04)

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 (v0.11.1) was verified at the time of creation of these instructions.

Apache Zeppelin binaries are available and can be downloaded from here. To use these binaries, different Java flavors can be installed on mentioned distributions. ​

Build and Install Apache Zeppelin

Install Dependencies

export SOURCE_ROOT=/<source_root>/
  • Ubuntu (20.04)
    sudo apt-get update
    sudo apt-get -y install wget tar 

Install Java

  • With IBM Semeru Runtime (previously known as AdoptOpenJDK openj9).

    • Download and install IBM Semeru Runtime (Java 11) from here.
  • With Eclipse Adoptium Temurin Runtime (previously known as AdoptOpenJDK hotspot)

    • Download and install Eclipse Adoptium Temurin Runtime (Java 11) from here.
  • With OpenJDK 11

    • Ubuntu (20.04)
      sudo apt-get install -y openjdk-11-jdk

Note: Versions (v11.0.21) of IBM Semeru Runtime and (v11.0.21) of Adoptium Temurin Runtime were used at the time of creation of these instructions

Set environment variables

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

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

⚠️ **GitHub.com Fallback** ⚠️