Sahil Takiar created HIVE-18921:
-----------------------------------

             Summary: SparkClientImpl should react to errors sent from the 
RemoteDriver
                 Key: HIVE-18921
                 URL: https://issues.apache.org/jira/browse/HIVE-18921
             Project: Hive
          Issue Type: Sub-task
          Components: Spark
            Reporter: Sahil Takiar


Right now, when {{RemoteDriver#shutdown}} runs it may / may not send an error 
message to the client.

When it does, we simply log the error and then proceed continue running 
normally. Eventually we will hit an error saying that the RPC channel has been 
closed.

There are two improvements we can make:
(1) If we get an error from the {{RemoteDriver}} we can treat the RPC channel 
as functionally closed, rather than proceeding with normal execution.
(2) If there is no known error on the driver side, at least send some type of 
termination signal so the client knows a shutdown is coming and can act 
accordingly.



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

Reply via email to