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, detailed in the Planning Your Installation section.
  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