You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dipayan Dev (Jira)" <ji...@apache.org> on 2023/07/25 12:22:00 UTC
[jira] [Created] (SPARK-44543) Cleanup .spark-staging directories when yarn application fails
Dipayan Dev created SPARK-44543:
-----------------------------------
Summary: Cleanup .spark-staging directories when yarn application fails
Key: SPARK-44543
URL: https://issues.apache.org/jira/browse/SPARK-44543
Project: Spark
Issue Type: New Feature
Components: Spark Core, Spark Shell
Affects Versions: 3.4.1
Reporter: Dipayan Dev
Spark creates the staging directories like .hive-staging, .spark-staging etc which get created when you run an upsert to a partitioned table. Such directories will remain forever in Google Cloud Storage, in case the yarn application manager gets killed.
Over time this pileup and incurs a lot of cloud storage cost.
Can we update our File committer to clean up the temporary directories in case the job commit fails.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org