Skip to content
Snippets Groups Projects
Commit 7ba7fa11 authored by Matei Zaharia's avatar Matei Zaharia
Browse files

Merge pull request #674 from liancheng/master

Bug fix: SPARK-789
parents f4416a1d c0c3155c
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 ...@@ -278,7 +278,9 @@ private[spark] class Master(host: String, port: Int, webUiPort: Int) extends Act
exec.state = ExecutorState.KILLED exec.state = ExecutorState.KILLED
} }
app.markFinished(state) app.markFinished(state)
app.driver ! ApplicationRemoved(state.toString) if (state != ApplicationState.FINISHED) {
app.driver ! ApplicationRemoved(state.toString)
}
schedule() 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