Skip to content

Commit

Permalink
Set the executor state for a worker when removing it
Browse files Browse the repository at this point in the history
  • Loading branch information
zsxwing committed Mar 9, 2016
1 parent cad29a4 commit ff75d65
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -763,6 +763,7 @@ private[deploy] class Master(
logInfo("Telling app of lost executor: " + exec.id)
exec.application.driver.send(ExecutorUpdated(
exec.id, ExecutorState.LOST, Some("worker lost"), None))
exec.state = ExecutorState.LOST
exec.application.removeExecutor(exec)
}
for (driver <- worker.drivers.values) {
Expand Down

0 comments on commit ff75d65

Please sign in to comment.