jin xing created SPARK-21993:
--------------------------------

             Summary: Close CliSessionState in shutdown hook of 
SparkSQLCLIDriver
                 Key: SPARK-21993
                 URL: https://issues.apache.org/jira/browse/SPARK-21993
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 2.2.0
            Reporter: jin xing


In current code, {{SessionState}} in {{SparkSQLCLIdriver}} is not guaranteed to 
be closed. As a result, some tmp files/dirs are not removed when job finished. 
We can close {{SessionState}} in shutdown hook.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to