holdenk opened a new pull request, #49032: URL: https://github.com/apache/spark/pull/49032
### What changes were proposed in this pull request? This introduces two new config parameters for TTL based cleaning which remove blocks which are not used for a given period of time. ### Why are the changes needed? We depend on garbage collection happening to tell us when RDDs/DataFrames are no longer referenced, but when those are defined the global scope those will not be cleaned up. Rather than cleaning up the RDD/DataFrame based on the TTL we only clean up the blocks so that if the TTL is too short and the user does use that RDD or DataFrame again in the future their code will not fail, but instead re-create those blocks. ### Does this PR introduce _any_ user-facing change? New config parameters are introduced. These are _smiliar_ to an old Spark 1.X config parameter around TTLs but instead use reference time rather than a from creation time TTL. ### How was this patch tested? Work in progress. ### Was this patch authored or co-authored using generative AI tooling? No. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
