Last active
August 29, 2015 14:18
-
-
Save delip/1145fff857894445f6bc to your computer and use it in GitHub Desktop.
Spark setup (local)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/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