We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7eebda8 commit 456d844Copy full SHA for 456d844
python/pyspark/java_gateway.py
@@ -36,6 +36,7 @@ def launch_gateway():
36
on_windows = platform.system() == "Windows"
37
script = "./bin/spark-submit.cmd" if on_windows else "./bin/spark-submit"
38
submit_args = os.environ.get("PYSPARK_SUBMIT_ARGS")
39
+ submit_args = submit_args if submit_args is not None else ""
40
submit_args = shlex.split(submit_args)
41
command = [os.path.join(SPARK_HOME, script), "pyspark-shell"] + submit_args
42
if not on_windows:
0 commit comments