Description
When a streaming application is killed while running on YARN the .sparkStaging directory is not cleaned up. Setting spark.yarn.preserve.staging.files=false does not help and still leaves the files around.
The changes in SPARK-7503 do not catch this case since there is no exception in the shutdown. When the application gets killed the AM gets told to shutdown and the shutdown hook is run but the clean up is not triggered.
Attachments
Issue Links
- relates to
-
SPARK-7503 Resources in .sparkStaging directory can't be cleaned up on error
- Resolved
- links to