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

Building Apache Ignite

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 Ignite binaries are available and can be downloaded from here. Following are the dependencies to be installed.

Note: Apache Ignite(v2.16.0) was verified at the time of creation of these instructions

1. Install Java

  • With Eclipse Adoptium Temurin Runtime (previously known as AdoptOpenJDK hotspot)

    • Download and install Eclipse Adoptium Temurin Runtime 11 or 17 from here.
  • With IBM Semeru Runtime

    • Download and install IBM Semeru Runtime (Java 8, 11, or 17) from here.
  • With OpenJDK

    • RHEL (7.8, 7.9, 8.6, 8.8, 8.9, 9.0, 9.2, 9.3)

      • Java 8
      sudo yum install -y java-1.8.0-openjdk
      
      • Java 11
      sudo yum install -y java-11-openjdk
      
      • Java 17 (Only on RHEL 8.X and 9.X)
      sudo yum install -y java-17-openjdk
      
    • SLES (12 SP5, 15 SP5)

      • Java 8
      sudo zypper install -y java-1_8_0-openjdk
      
      • Java 11
      sudo zypper install -y java-11-openjdk
      
      • Java 17 (Only on SLES 15 SP5)
      sudo zypper install -y java-17-openjdk
      
    • Ubuntu (20.04, 22.04, 23.10)

      • Java 8
      sudo apt-get install -y openjdk-8-jdk
      
      • Java 11
      sudo apt-get install -y openjdk-11-jdk
      
      • Java 17
      sudo apt-get install -y openjdk-17-jdk
      
  • Set the Java environment

export JAVA_HOME=<path to Java installation directory>
export PATH=$JAVA_HOME/bin:$PATH

Note: At the time of creation of these build instructions Apache Ignite was verified with Semeru 1.8.0_392, Semeru 11.0.21, Semeru 17.0.9, Temurin 11.0.21, Temurin 17.0.9 and OpenJDK version provided in the distro package.

2. Start a node

To start an Ignite node, unzip binary to $SOURCE_ROOT and follow the steps given below.

export SOURCE_ROOT=/<source_root>/
export IGNITE_HOME=$SOURCE_ROOT/<apache_ignite_binary_folder>
cd $SOURCE_ROOT/<apache_ignite_binary_folder>
bin/ignite.sh

References: