Skip to content

Commit a8dc241

Browse files
committed
use DurationConvertions etc
1 parent 3f59a05 commit a8dc241

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resource-managers/mesos/src/main/scala/org/apache/spark/scheduler/cluster/mesos/MesosCoarseGrainedSchedulerBackend.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ private[spark] class MesosCoarseGrainedSchedulerBackend(
636636
externalShufflePort,
637637
sc.conf.getTimeAsMs("spark.storage.blockManagerSlaveTimeoutMs",
638638
s"${sc.conf.getTimeAsSeconds("spark.network.timeout", "120s").seconds.toMillis}ms"),
639-
sc.conf.getTimeAsSeconds("spark.executor.heartbeatInterval", "10s") * 1000L)
639+
sc.conf.getTimeAsSeconds("spark.executor.heartbeatInterval", "10s").seconds.toMillis)
640640
slave.shuffleRegistered = true
641641
}
642642

0 commit comments

Comments
 (0)