Skip to content
Snippets Groups Projects
Commit 37ccf930 authored by Mark Hamstra's avatar Mark Hamstra
Browse files

milliseconds -> seconds in timeOutDeadWorkers logging

parent cdd1af56
No related branches found
No related tags found
No related merge requests found
...@@ -343,7 +343,7 @@ private[spark] class Master(host: String, port: Int, webUiPort: Int) extends Act ...@@ -343,7 +343,7 @@ private[spark] class Master(host: String, port: Int, webUiPort: Int) extends Act
for (worker <- toRemove) { for (worker <- toRemove) {
if (worker.state != WorkerState.DEAD) { if (worker.state != WorkerState.DEAD) {
logWarning("Removing %s because we got no heartbeat in %d seconds".format( logWarning("Removing %s because we got no heartbeat in %d seconds".format(
worker.id, WORKER_TIMEOUT)) worker.id, WORKER_TIMEOUT/1000))
removeWorker(worker) removeWorker(worker)
} else { } else {
if (worker.lastHeartbeat < currentTime - ((REAPER_ITERATIONS + 1) * WORKER_TIMEOUT)) if (worker.lastHeartbeat < currentTime - ((REAPER_ITERATIONS + 1) * WORKER_TIMEOUT))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment