Skip to content
Snippets Groups Projects
Commit 3d447433 authored by Tathagata Das's avatar Tathagata Das
Browse files

Removed the exponential backoff for testing.

parent a1b8dd53
No related branches found
No related tags found
No related merge requests found
...@@ -168,7 +168,7 @@ private[spark] class DriverRunner( ...@@ -168,7 +168,7 @@ private[spark] class DriverRunner(
val exitCode = process.get.waitFor() val exitCode = process.get.waitFor()
if (supervise && exitCode != 0 && !killed) { if (supervise && exitCode != 0 && !killed) {
waitSeconds = waitSeconds * 2 // exponential back-off waitSeconds = waitSeconds * 1 // exponential back-off
logInfo(s"Command exited with status $exitCode, re-launching after $waitSeconds s.") logInfo(s"Command exited with status $exitCode, re-launching after $waitSeconds s.")
(0 until waitSeconds).takeWhile(f => {Thread.sleep(1000); !killed}) (0 until waitSeconds).takeWhile(f => {Thread.sleep(1000); !killed})
} }
......
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