Skip to content
Snippets Groups Projects
Commit c0c3155c authored by Lian Cheng's avatar Lian Cheng
Browse files
parent 6d60fe57
No related branches found
No related tags found
No related merge requests found
......@@ -278,7 +278,9 @@ private[spark] class Master(host: String, port: Int, webUiPort: Int) extends Act
exec.state = ExecutorState.KILLED
}
app.markFinished(state)
app.driver ! ApplicationRemoved(state.toString)
if (state != ApplicationState.FINISHED) {
app.driver ! ApplicationRemoved(state.toString)
}
schedule()
}
}
......
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