Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.5.1
-
None
-
None
Description
(from mailing list)
Running on Mesos in coarse-grained mode. No dynamic allocation or shuffle service.
I see that there are two types of temporary files under /tmp folder associated with every executor: /tmp/spark-<UUID> and /tmp/blockmgr-<UUID>. When job is finished /tmp/spark-<UUID> is gone, but blockmgr directory is left with all gigabytes in it.
The reason is that logic to clean up files is only enabled when the shuffle service is running, see https://github.com/apache/spark/pull/7820
The shuffle files should be placed in the Mesos sandbox or under `tmp/spark` unless the shuffle service is enabled.
Attachments
Issue Links
- duplicates
-
SPARK-9708 Spark should create local temporary directories in Mesos sandbox when launched with Mesos
- Resolved
- relates to
-
SPARK-9708 Spark should create local temporary directories in Mesos sandbox when launched with Mesos
- Resolved