You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2022/02/03 05:01:00 UTC
[jira] [Updated] (SPARK-38074) RuntimeError: Java gateway process exited before sending its port number
[ https://issues.apache.org/jira/browse/SPARK-38074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon updated SPARK-38074:
---------------------------------
Priority: Major (was: Blocker)
> RuntimeError: Java gateway process exited before sending its port number
> ------------------------------------------------------------------------
>
> 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
> Priority: Major
>
> 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