2.2 Installing GoldenGate Stream Analytics

After you have reviewed the above software prerequisites, please follow the steps below to install GoldenGate Stream Analytics 19.1.0.0.*:
  1. Create a directory, for example, spark-downloads, and download Apache Spark into the newly created folder and as specified by versions below:
    For releases 19.1.0.0.0 to 19.1.0.0.7:
    • Spark release: 2.4.3

    • Package type: Pre-built for Apache Hadoop 2.7 and later

    • Download Spark: spark-2.4.3-bin-hadoop2.7.tgz

    For release 19.1.0.0.8 :
    • Spark release: 3.4.0

    • Package type: Pre-built for Apache Hadoop 3.3 and later

    • Download Spark: spark-3.4.0-bin-hadoop3.tgz

    For release 19.1.0.0.9:
    Spark Release Package Type Download Spark Kafka Compatibility
    3.4.0 Pre-built for Apache Hadoop 3.3 and later

    spark-3.4.0-bin-hadoop3.tgz

    • Kafka 3.7.0 works with Spark standalone, Yarn 3.3.6, Yarn 3.3.4, Yarn 2.7.1
    • Kafka 3.6.1 works with Spark standalone, Yarn 3.3.6, Yarn 3.3.4, Yarn 2.7.1
    • Kafka 3.5.1 works with Spark standalone, Yarn 3.3.6, Yarn 3.3.4, Yarn 2.7.1
    • Kafka 3.2.0 works with Spark standalone, Yarn 3.3.6, Yarn 3.3.4
    3.5.0 Pre-built for Apache Hadoop 3.3 and later spark-3.5.0-bin-hadoop3.tgz
    • Kafka 3.7.0 works with Spark standalone, Yarn 3.3.6, Yarn 3.3.4, Yarn 2.7.1
    • Kafka 3.6.1 works with Spark standalone, Yarn 3.3.6, Yarn 3.3.4, Yarn 2.7.1
    • Kafka 3.5.1 works with Spark standalone, Yarn 3.3.6, Yarn 3.3.4, Yarn 2.7.1
    • Kafka 3.2.0 works with Spark standalone, Yarn 3.3.6, Yarn 3.3.4
  2. Extract the Spark archive to a local directory.
    You can see a subfolder, spark-*.*.*-bin-hadoop*.*.
  3. Create a new directory, for example, OSA-19 and download OSA-19.1.0.0.*.zip from Oracle eDelivery and extract it into the newly created folder.
    You can find the OSA-19.1.0.0.*-README.txt file in the OSA-19.1.0.0.* zip file.
  4. Extract the downloaded file. You should now see a subfolder OSA-19.1.0.0.*.
  5. Review the file OSA-19.1.0.0.*-README.txt in the OSA-19 folder.
  6. Set the environment variables:
    1. Set the SPARK_HOME environment variable in the OSA-19.1.0.0.*/osa-base/etc/osa-env.sh file to point to the directory where you have extracted the Spark archive. For example:
      SPARK_HOME=/products/spark-downloads/spark-*.*.*-bin-hadoop*.*
  7. Set the JDK_HOME environment variable in the OSA-19.1.0.0.*/osa-base/etc/osa-env.sh file to point to the directory where you have extracted the JDK archive. For example:
    JDK_HOME=/products/java-downloads/jdk1.8.0_131