Skip to content

Commit 7e66c18

Browse files
author
Marcelo Vanzin
committed
Fix pyspark tests.
1 parent 0031a8e commit 7e66c18

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/pyspark

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ export PYTHONSTARTUP="$SPARK_HOME/python/pyspark/shell.py"
8686
if [[ -n "$SPARK_TESTING" ]]; then
8787
unset YARN_CONF_DIR
8888
unset HADOOP_CONF_DIR
89+
export PYSPARK_SUBMIT_ARGS=pyspark-shell
8990
if [[ -n "$PYSPARK_DOC_TEST" ]]; then
9091
exec "$PYSPARK_DRIVER_PYTHON" -m doctest $1
9192
else

0 commit comments

Comments
 (0)