Skip to content

Commit 6a0a411

Browse files
committed
Fix docs
1 parent c7d5422 commit 6a0a411

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

core/src/main/scala/org/apache/spark/HeartbeatReceiver.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ private[spark] class HeartbeatReceiver(sc: SparkContext, scheduler: TaskSchedule
5050
// executor ID -> timestamp of when the last heartbeat from this executor was received
5151
private val executorLastSeen = new mutable.HashMap[String, Long]
5252

53-
// `spark.network.timeout` use `seconds`,
54-
// while `spark.storage.blockManagerSlaveTimeoutMs` use `milliseconds`
53+
// "spark.network.timeout" uses "seconds", while `spark.storage.blockManagerSlaveTimeoutMs` uses
54+
// "milliseconds"
5555
private val executorTimeoutMs = sc.conf.getOption("spark.network.timeout").map(_.toLong * 1000).
5656
getOrElse(sc.conf.getLong("spark.storage.blockManagerSlaveTimeoutMs", 120000))
5757

58-
// `spark.network.timeoutInterval` use `seconds`,
59-
// while `spark.storage.blockManagerTimeoutIntervalMs` use `milliseconds`
58+
// "spark.network.timeoutInterval" uses "seconds", while
59+
// "spark.storage.blockManagerTimeoutIntervalMs" uses "milliseconds"
6060
private val checkTimeoutIntervalMs =
6161
sc.conf.getOption("spark.network.timeoutInterval").map(_.toLong * 1000).
6262
getOrElse(sc.conf.getLong("spark.storage.blockManagerTimeoutIntervalMs", 60000))

0 commit comments

Comments
 (0)