Skip to content
Snippets Groups Projects
Commit a91784fb authored by Rekha Joshi's avatar Rekha Joshi Committed by Sean Owen
Browse files

[SPARK-13973][PYSPARK] ipython notebook` is going away

## What changes were proposed in this pull request?
https://issues.apache.org/jira/browse/SPARK-13973

## How was this patch tested?
Pyspark

Author: Rekha Joshi <rekhajoshm@gmail.com>
Author: Joshi <rekhajoshm@gmail.com>

Closes #11829 from rekhajoshm/SPARK-13973.
parent 62a85eb0
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,11 @@ if [[ -n "$IPYTHON_OPTS" || "$IPYTHON" == "1" ]]; then
# If IPython options are specified, assume user wants to run IPython
# (for backwards-compatibility)
PYSPARK_DRIVER_PYTHON_OPTS="$PYSPARK_DRIVER_PYTHON_OPTS $IPYTHON_OPTS"
PYSPARK_DRIVER_PYTHON="ipython"
if [ -x "$(command -v jupyter)" ]; then
PYSPARK_DRIVER_PYTHON="jupyter"
else
PYSPARK_DRIVER_PYTHON="ipython"
fi
elif [[ -z "$PYSPARK_DRIVER_PYTHON" ]]; then
PYSPARK_DRIVER_PYTHON="${PYSPARK_PYTHON:-"$DEFAULT_PYTHON"}"
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment