Skip to content

Instantly share code, notes, and snippets.

@aritzg
Created July 18, 2017 20:22
Show Gist options
  • Save aritzg/adbf6ed8f03e9da5497599f1e03137c1 to your computer and use it in GitHub Desktop.
Save aritzg/adbf6ed8f03e9da5497599f1e03137c1 to your computer and use it in GitHub Desktop.
Init pyspark
export SPARK_HOME="/home/aritz/data/personal/proiektuak/nemDataChallenge/spark-2.2.0-bin-hadoop2.7"
export PATH=$SPARK_HOME/bin:$PATH
export PYSPARK_DRIVER_PYTHON=jupyter
export PYSPARK_DRIVER_PYTHON_OPTS='notebook'
pyspark
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment