Skip to content

Instantly share code, notes, and snippets.

@TanUkkii007
Created June 26, 2018 02:15
Show Gist options
  • Save TanUkkii007/5a1fea65f3d58d33175fa30f5e864718 to your computer and use it in GitHub Desktop.
Save TanUkkii007/5a1fea65f3d58d33175fa30f5e864718 to your computer and use it in GitHub Desktop.
How to use pyspark with Jupyter notebook
# https://blog.sicara.com/get-started-pyspark-jupyter-guide-tutorial-ae2fe84f594f
export PYSPARK_DRIVER_PYTHON_OPTS="notebook"
export PYSPARK_DRIVER_PYTHON=$(which jupyter)
export SPARK_HOME="path to spark dir"
$SPARK_HOME/bin/pyspark
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment