Skip to content

Instantly share code, notes, and snippets.

@delip
Last active August 29, 2015 14:18
Show Gist options
  • Save delip/1145fff857894445f6bc to your computer and use it in GitHub Desktop.
Save delip/1145fff857894445f6bc to your computer and use it in GitHub Desktop.
Spark setup (local)
#/bin/sh
# select the correct version of spark and hadoop
# (depends on your situation but go with the latest if possible).
# spark.apache.org/downloads.html
tar -xvzf spark-1.3.0-bin-hadoop2.4.tgz
ln -s spark-1.3.0-bin-hadoop2.4 spark
export SPARK_HOME=`pwd`/spark
export PATH=$SPARK_HOME/bin:$PATH
# At this point you might want add the above to export statements to
# your .bashrc or .zshrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment