[ https://issues.apache.org/jira/browse/SPARK-47986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Niranjan Jayakar reopened SPARK-47986: -------------------------------------- This issue was not fully resolved by the previous pull request. A follow up fix is here: https://github.com/apache/spark/pull/46435 > [CONNECT][PYTHON] Unable to create a new session when the default session is > closed by the server > ------------------------------------------------------------------------------------------------- > > Key: SPARK-47986 > URL: https://issues.apache.org/jira/browse/SPARK-47986 > Project: Spark > Issue Type: Improvement > Components: Connect, PySpark > Affects Versions: 3.5.0, 3.5.1 > Reporter: Niranjan Jayakar > Assignee: Niranjan Jayakar > Priority: Major > Labels: pull-request-available > Fix For: 4.0.0 > > > When the server closes a session, usually after a cluster restart, the client > is unaware of this until it receives an error. > Once it does so, there is no way for the client to create a new session since > the stale sessions are still recorded as default and active sessions. > The only solution currently is to restart the Python interpreter on the > client, or to reach into the session builder and change the active or default > session. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org