Created
June 26, 2018 02:15
-
-
Save TanUkkii007/5a1fea65f3d58d33175fa30f5e864718 to your computer and use it in GitHub Desktop.
How to use pyspark with Jupyter notebook
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
# 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