Skip to content
Snippets Groups Projects
Commit 07b952e1 authored by Patrick Wendell's avatar Patrick Wendell
Browse files

Revert "Fix default TTL for metadata cleaner"

This reverts commit 669ba4ca.
parent 22d4d624
No related branches found
No related tags found
No related merge requests found
......@@ -74,7 +74,7 @@ object MetadataCleanerType extends Enumeration {
// initialization of StreamingContext. It's okay for users trying to configure stuff themselves.
object MetadataCleaner {
def getDelaySeconds(conf: SparkConf) = {
conf.getInt("spark.cleaner.ttl", -1)
conf.getInt("spark.cleaner.ttl", 3500)
}
def getDelaySeconds(conf: SparkConf, cleanerType: MetadataCleanerType.MetadataCleanerType): Int =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment