[ 
https://issues.apache.org/jira/browse/SPARK-31346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apache Spark reassigned SPARK-31346:
------------------------------------

    Assignee: Apache Spark

> Add new configuration to make sure temporary directory cleaned
> --------------------------------------------------------------
>
>                 Key: SPARK-31346
>                 URL: https://issues.apache.org/jira/browse/SPARK-31346
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.1.0
>            Reporter: Jackey Lee
>            Assignee: Apache Spark
>            Priority: Major
>
> In InsertIntoHiveTable and InsertIntoHiveDirCommand, we use 
> deleteExternalTmpPath to clean temporary directories after Job committed and 
> cancel deleteOnExit if succeeded. But sometimes (e.g., when speculative task 
> is enabled), temporary directories may be left uncleaned. This is happened if 
> there are still some tasks running after we called deleteExternalTmpPath. 
> Thus it maybe necessary to keep deleteOnExit, even if temporary directory has 
> already deleted, to make sure the temporary directories cleaned.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to