Skip to content

Commit e216ffa

Browse files
LeolhAndrew Or
authored andcommitted
[SPARK-4446] [SPARK CORE]
MetadataCleaner schedule task with a wrong param for delay time . Author: Leolh <[email protected]> Closes #3306 from Leolh/master and squashes the following commits: 4a21f4e [Leolh] Update MetadataCleaner.scala
1 parent 0eb4a7f commit e216ffa

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
@@ -52,7 +52,7 @@ private[spark] class MetadataCleaner(
5252
logDebug(
5353
"Starting metadata cleaner for " + name + " with delay of " + delaySeconds + " seconds " +
5454
"and period of " + periodSeconds + " secs")
55-
timer.schedule(task, periodSeconds * 1000, periodSeconds * 1000)
55+
timer.schedule(task, delaySeconds * 1000, periodSeconds * 1000)
5656
}
5757

5858
def cancel() {

0 commit comments

Comments
 (0)