We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a75a30 commit ffb61e7Copy full SHA for ffb61e7
core/src/main/scala/org/apache/spark/deploy/master/Master.scala
@@ -257,8 +257,9 @@ private[deploy] class Master(
257
exec.state = state
258
259
if (state == ExecutorState.RUNNING) {
260
- assert(oldState == ExecutorState.LAUNCHING,
261
- s"executor $execId state transfer from $oldState to RUNNING is illegal")
+ if (oldState != ExecutorState.LAUNCHING) {
+ logWarning(s"Executor $execId state transfer from $oldState to RUNNING is unexpected")
262
+ }
263
appInfo.resetRetryCount()
264
}
265
0 commit comments