Skip to content
Snippets Groups Projects
Commit 6f6a6b79 authored by Josh Rosen's avatar Josh Rosen
Browse files

Launch with `scala` by default in run-pyspark

parent 099898b4
No related branches found
No related tags found
No related merge requests found
......@@ -20,4 +20,9 @@ export PYSPARK_PYTHON
# Add the PySpark classes to the Python path:
export PYTHONPATH=$SPARK_HOME/pyspark/:$PYTHONPATH
# Launch with `scala` by default:
if [[ "$SPARK_LAUNCH_WITH_SCALA" != "0" ]] ; then
export SPARK_LAUNCH_WITH_SCALA=1
fi
exec "$PYSPARK_PYTHON" "$@"
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