Skip to content

Commit

Permalink
milliseconds -> seconds in timeOutDeadWorkers logging
Browse files Browse the repository at this point in the history
  • Loading branch information
markhamstra committed Aug 5, 2013
1 parent cdd1af5 commit 37ccf93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/scala/spark/deploy/master/Master.scala
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ private[spark] class Master(host: String, port: Int, webUiPort: Int) extends Act
for (worker <- toRemove) {
if (worker.state != WorkerState.DEAD) {
logWarning("Removing %s because we got no heartbeat in %d seconds".format(
worker.id, WORKER_TIMEOUT))
worker.id, WORKER_TIMEOUT/1000))
removeWorker(worker)
} else {
if (worker.lastHeartbeat < currentTime - ((REAPER_ITERATIONS + 1) * WORKER_TIMEOUT))
Expand Down

0 comments on commit 37ccf93

Please sign in to comment.