You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiaochen Ouyang (JIRA)" <ji...@apache.org> on 2018/10/24 06:44:00 UTC

[jira] [Created] (SPARK-25818) WorkDirCleanup should only remove the directory at the beginning of the app

Xiaochen Ouyang created SPARK-25818:
---------------------------------------

             Summary: WorkDirCleanup should only remove the directory at the beginning of the app
                 Key: SPARK-25818
                 URL: https://issues.apache.org/jira/browse/SPARK-25818
             Project: Spark
          Issue Type: Improvement
          Components: Spark Core
    Affects Versions: 2.3.2, 2.2.1, 2.0.0
            Reporter: Xiaochen Ouyang


The cleanup mechanism will clear all the eligible directories under SPARK_WORK_DIR. If the other configured paths are the same as the SPARK_WORK_DIR configuration, this will cause the file directories of other configuration items to be deleted by mistake. For example, the SPARK_LOCAL_DIRS and SPARK_WORK_DIR settings are the same.



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

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