Database Reference
In-Depth Information
Installing Spark
Download a stable release of the Spark binary distribution from the
downloads page
(choose the one that matches the Hadoop distribution you are using), and unpack the tarball
in a suitable location:
%
tar xzf spark-
x.y.z
-bin-
distro
.tgz
It's convenient to put the Spark binaries on your path as follows:
%
export SPARK_HOME=~/sw/spark-
x.y.z
-bin-
distro
%
export PATH=$PATH:$SPARK_HOME/bin
We're now ready to run an example in Spark.