Deleted File Retention Duration in Cluster not work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2024 03:32 PM - edited 08-19-2024 03:51 PM
Hi Guys,
I tried to set the retention period in my Cluster, but it`s not work
Cluster:
Notebook:
Does not remove physical files
Do you have any ideas? thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2024 12:13 AM - edited 12-09-2024 12:14 AM
Hi,
It seems you are setting the retention period to 0 hours.
You need to first use this config spark.databricks.delta.retentionDurationCheck.enabled
to false
.
and then set the retentention duration config as you used.
You can do a DRY RUN to check if there are any files which are ready to be vacummed.
Reference link: https://docs.databricks.com/en/sql/language-manual/delta-vacuum.html

