User Guide : B. Setting Up Spark for Use with Vector : Set Up Spark
 
Share this page                  
Set Up Spark
The following steps assume that Vector is already installed.
To set up Spark
1. Install Oracle Java HotSpot 1.8.
2. Download Spark using the link above and extract the archive.:
3. Set SPARK_HOME and update the PATH variable.
You can append the following to the end of Vector environment script .ingVWsh:
export SPARK_HOME=/path/to/spark
export PATH=$PATH:$SPARK_HOME/bin
4. Download Spark-Vector Connector from the above link and extract the archive.
5. Copy the extracted driver to $II_SYSTEM/ingres/lib/spark_vector_provider.jar. Overwrite it, if necessary.
Note:  This step is not needed if the release contains a copy of the provider.
6. Set spark_provider count in config.dat to 1:
iisetres "ii.$(iipmhost).ingstart.*.spark_provider" 1
7. Restart Vector to ensure the Spark-Vector Provider is started:
ingstop
ingstart