Skip to content
Snippets Groups Projects
Commit 669ba4ca authored by Matei Zaharia's avatar Matei Zaharia
Browse files

Fix default TTL for metadata cleaner

It seems to have been set to 3500 in a previous commit for debugging,
but it should be off by default
parent 0ebc9730
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", 3500)
conf.getInt("spark.cleaner.ttl", -1)
}
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