Created
January 7, 2017 08:51
-
-
Save NicolaeNMV/3e1d77a9a00c8b496cf880e08c951af4 to your computer and use it in GitHub Desktop.
Start jupyter notebook with spark
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 | |
export PYSPARK_DRIVER_PYTHON="/usr/local/bin/jupyter" | |
export PYSPARK_DRIVER_PYTHON_OPTS="notebook --NotebookApp.open_browser=False --NotebookApp.ip='*' --NotebookApp.port=8880" | |
export PYSPARK_PYTHON="/usr/bin/python" | |
pyspark |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment