When I run the command sparkling-shell --conf "spark.executor.memory=1g" from sparkling water bin directory it comes up with this error -
You are trying to use Sparkling Water built for Spark , but your %SPARK_HOME(=C:
\spark140) property points to Spark of version 1.4.0. Please ensure correct Spar
k is provided and re-run Sparkling Water.
I tried installing multiple versions of spark and point the SPARK_HOME env variable to 1.5 and 1.6 as well but ended up getting the same error.
Is there something wrong that I am doing? Are there any special instructions for windows installation of sparkling water?
Finally , is setting the system env variables the corresponding steps for -
export SPARK_HOME="/path/to/spark/installation"
# To launch a local Spark cluster with 3 worker nodes with 2 cores and 1g per node.
export MASTER="local-cluster[3,2,1024]"
Thanks for your help and time.
There are no additional steps for Windows. You just need to change your SPARK_HOME env variable since now it's pointing to C:\spark140. You have to make it point to a never Spark version appropriate for the SW version you're using.
What do you see when you run this in windows command prompt: echo %SPARK_HOME%?
You can check your env variable by following:
1) System (Control Panel)
2) Advanced system settings
3) Environment Variables.
4) Find and change SPARK_HOME to point to Spark 1.6
5) Restart your prompt
Mateusz