You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2017/09/13 10:26:00 UTC

[jira] [Commented] (SPARK-21993) Close CliSessionState in shutdown hook of SparkSQLCLIDriver

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

Apache Spark commented on SPARK-21993:
--------------------------------------

User 'jinxing64' has created a pull request for this issue:
https://github.com/apache/spark/pull/19219

> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org