Github user tdas commented on a diff in the pull request:
https://github.com/apache/spark/pull/855#discussion_r15690344
--- Diff: core/src/test/scala/org/apache/spark/ContextCleanerSuite.scala ---
@@ -206,6 +206,33 @@ class ContextCleanerSuite extends
ContextCleanerSuiteBase {
postGCTester.assertCleanup()
}
+ test("automatically cleanup checkpoint data") {
+ val conf=new
SparkConf().setMaster("local[2]").setAppName("cleanupCheckpointData").
+ set("spark.cleaner.checkpointData.enabled","true")
--- End diff --
I think the name should have referenceTracking in it as this is a
sub-configuration applicable only when referenceTracking is enabled. So it
probably should be something like
"spark.cleaner.referenceTracking.cleanCheckpoints"
@mridulm @pwendell What do you think?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---