Github user parente commented on a diff in the pull request:
https://github.com/apache/spark/pull/18339#discussion_r137616450
--- Diff: python/pyspark/java_gateway.py ---
@@ -33,14 +33,18 @@
from pyspark.serializers import read_int
-def launch_gateway(conf=None):
+def launch_gateway(conf=None, popen_kwargs=None):
"""
launch jvm gateway
:param conf: spark configuration passed to spark-submit
+ :param popen_kwargs: Dictionary of kwargs to pass to Popen when
spawning
--- End diff --
And ... you said that right here. Doh! I'll update the docstring at least.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]