You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Malla (Jira)" <ji...@apache.org> on 2022/01/30 17:13:00 UTC
[jira] [Created] (SPARK-38074) RuntimeError: Java gateway process exited before sending its port numbe
Malla created SPARK-38074:
-----------------------------
Summary: RuntimeError: Java gateway process exited before sending its port numbe
Key: SPARK-38074
URL: https://issues.apache.org/jira/browse/SPARK-38074
Project: Spark
Issue Type: Bug
Components: PySpark, Spark Shell, Spark Submit
Affects Versions: 3.2.1
Reporter: Malla
I am getting
RuntimeError: Java gateway process exited before sending its port number when running python tests in Docker.
I am using *spark_home* as /usr/lib/python3.9/site-packages/pyspark
sc = SparkContext() File "/usr/lib/python3.9/site-packages/pyspark/context.py", line 144, in __init__ SparkContext._ensure_initialized(self, gateway=gateway, conf=conf) File
"/usr/lib/python3.9/site-packages/pyspark/context.py", line 339, in _ensure_initialized
SparkContext._gateway = gateway or launch_gateway(conf)
File "/usr/lib/python3.9/site-packages/pyspark/java_gateway.py", line 136, in launch_gateway raise RuntimeError("Java gateway process exited before sending its port number")
RuntimeError: Java gateway process exited before sending its port number
I can provide additional details. Any Help is appreciated
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org