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.12.1 on Linux on IBM Z for following distributions:

  • RHEL (8.10, 9.6, 9.7, 9.8, 10.0, 10.1, 10.2)
  • SLES (15 SP7, 16)
  • Ubuntu (22.04, 24.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.12.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. โ€‹

1. Install Dependencies

export SOURCE_ROOT=/<source_root>/
  • RHEL (8.10, 9.6, 9.7, 9.8, 10.0, 10.1, 10.2)

    sudo yum install -y install wget tar curl net-tools
    
  • SLES (15 SP7, 16)

    sudo zypper install -y install wget tar curl iproute2 gawk hostname
    
  • Ubuntu (22.04, 24.04)

    sudo apt-get update
    sudo apt-get -y install wget tar curl net-tools
    

2. Install Java

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

    • Download and install IBM Semeru Runtime (Java 11, 17, 21) on all above mentioned distribution (except ub25.x) from here.
  • With Eclipse Adoptium Temurin Runtime (previously known as AdoptOpenJDK hotspot)

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

    • RHEL (8.10, 9.6, 9.7, 9.8)
      sudo yum install -y java-11-openjdk-devel 
      
    • SLES 15 SP7
      sudo zypper install -y java-11-openjdk java-11-openjdk-devel
      
    • Ubuntu (22.04, 24.04)
      sudo apt-get install -y openjdk-11-jdk
      
  • With OpenJDK 17

    • RHEL (8.10, 9.6, 9.7, 9.8)
      sudo yum install -y java-17-openjdk-devel 
      
    • SLES (15 SP7, 16)
      sudo zypper install -y java-17-openjdk java-17-openjdk-devel
      
    • Ubuntu (22.04, 24.04)
      sudo apt-get install -y openjdk-17-jdk
      
  • With OpenJDK 21

    • RHEL (8.10, 9.6, 9.7, 9.8, 10.0, 10.1, 10.2)
      sudo yum install -y java-21-openjdk-devel
      
    • SLES (15 SP7, 16)
      sudo zypper install -y java-21-openjdk java-21-openjdk-devel
      
    • Ubuntu (22.04, 24.04)
      sudo apt-get install -y openjdk-21-jdk
      

Note: Versions (11.0.31.0), (17.0.19.0), (21.0.11.0) of IBM Semeru Runtime and (11.0.31+11), (17.0.19+10), (21.0.11+10) of Adoptium Temurin Runtime were used at the time of creation of these instructions

3. Set Environment Variables

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

4. Start Apache Zeppelin

Extract Apache Zeppelin binary tar to $SOURCE_ROOT and follow the official guide given here

References