Skip to content

Commit d5cc52e

Browse files
committed
Merge pull request #4 from jhartlaub/master-csd
REL-257 Update to allow non-global specification off TTL's for cleaning.
2 parents 6d9bce4 + 682f0e5 commit d5cc52e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/scala/org/apache/spark/util/MetadataCleaner.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import org.apache.spark.Logging
2727
class MetadataCleaner(cleanerType: MetadataCleanerType.MetadataCleanerType, cleanupFunc: (Long) => Unit) extends Logging {
2828
val name = cleanerType.toString
2929

30-
private val delaySeconds = MetadataCleaner.getDelaySeconds
30+
private val delaySeconds = MetadataCleaner.getDelaySeconds(cleanerType)
3131
private val periodSeconds = math.max(10, delaySeconds / 10)
3232
private val timer = new Timer(name + " cleanup timer", true)
3333

0 commit comments

Comments
 (0)