Skip to content
Snippets Groups Projects
Commit 45df9127 authored by Matei Zaharia's avatar Matei Zaharia
Browse files

Revert "[Spark-1134] only call ipython if no arguments are given; remove IPYTHONOPTS from call"

This reverts commit afb5ea62.
parent afb5ea62
No related branches found
No related tags found
No related merge requests found
...@@ -55,9 +55,8 @@ if [ -n "$IPYTHON_OPTS" ]; then ...@@ -55,9 +55,8 @@ if [ -n "$IPYTHON_OPTS" ]; then
IPYTHON=1 IPYTHON=1
fi fi
# Only use ipython if no command line arguments were provided [SPARK-1134] if [[ "$IPYTHON" = "1" ]] ; then
if [[ "$IPYTHON" = "1" && $# = 0 ]] ; then exec ipython $IPYTHON_OPTS
exec ipython
else else
exec "$PYSPARK_PYTHON" "$@" exec "$PYSPARK_PYTHON" "$@"
fi 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