Created
June 29, 2016 14:16
-
-
Save cogfor/903c911c9b1963dcd530bbc0b9d9f0ce to your computer and use it in GitHub Desktop.
Jupyter kernel for PySpark on Yarn
This file contains hidden or 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
{ | |
"display_name": "PySpark", | |
"language": "python", | |
"argv": [ | |
"/home/rnederhand/venv/bin/python", | |
"-m", | |
"ipykernel", | |
"-f", | |
"{connection_file}" | |
], | |
"env": { | |
"HADOOP_CONF_DIR": "/etc/hadoop/conf", | |
"SPARK_HOME": "/usr/hdp/current/spark-client", | |
"PYTHONPATH": "/usr/hdp/2.3.4.0-3485/spark/python/:/usr/hdp/2.3.4.0-3485/spark/python/lib/py4j-0.9-src.zip", | |
"PYTHONSTARTUP": "/usr/hdp/current/spark-client/python/pyspark/shell.py", | |
"PYSPARK_SUBMIT_ARGS": "--master yarn-client --queue analysis pyspark-shell" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment