Skip to content

Commit

Permalink
Add a config to set driver terminate timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
zsxwing committed May 26, 2017
1 parent 473d755 commit ca2c9c5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ private[deploy] class DriverRunner(
@volatile private[worker] var finalException: Option[Exception] = None

// Timeout to wait for when trying to terminate a driver.
private val DRIVER_TERMINATE_TIMEOUT_MS = 10 * 1000
private val DRIVER_TERMINATE_TIMEOUT_MS =
conf.getTimeAsMs("spark.worker.driverTerminateTimeout", "10s")

// Decoupled for testing
def setClock(_clock: Clock): Unit = {
Expand Down

0 comments on commit ca2c9c5

Please sign in to comment.