[ 
https://issues.apache.org/jira/browse/SPARK-23785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16412042#comment-16412042
 ] 

Sahil Takiar commented on SPARK-23785:
--------------------------------------

[~vanzin] opened a PR that just checks if {{isConnected}} is true before 
writing to the connection, but not sure this will fix the issue from 
HIVE-18533. Looking through the code it seems like this only gets set when the 
{{LauncherBackend}} closes the connection, but doesn't detect when the 
{{LauncherServer}} closes the connection. Unless, I'm missing something.

> LauncherBackend doesn't check state of connection before setting state
> ----------------------------------------------------------------------
>
>                 Key: SPARK-23785
>                 URL: https://issues.apache.org/jira/browse/SPARK-23785
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 2.3.0
>            Reporter: Sahil Takiar
>            Priority: Major
>
> Found in HIVE-18533 while trying to integration with the 
> {{InProcessLauncher}}. {{LauncherBackend}} doesn't check the state of its 
> connection to the {{LauncherServer}} before trying to run {{setState}} - 
> which sends a {{SetState}} message on the connection.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to