[ https://issues.apache.org/jira/browse/SPARK-38074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon resolved SPARK-38074. ---------------------------------- Resolution: Invalid > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org