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 bdd0928 commit b2b7b25Copy full SHA for b2b7b25
core/src/main/scala/org/apache/spark/deploy/master/Master.scala
@@ -312,10 +312,10 @@ private[spark] class Master(
312
if (appInfo.incrementRetryCount() < ApplicationState.MAX_NUM_RETRY) {
313
schedule()
314
} else {
315
- logError(s"Application ${appInfo.desc.name} with ID ${appInfo.id} failed " +
316
- s"${appInfo.retryCount} times; removing it")
317
val execs = idToApp(appId).executors.values
318
if (!execs.exists(_.state == ExecutorState.RUNNING)) {
+ logError(s"Application ${appInfo.desc.name} with ID ${appInfo.id} failed " +
+ s"${appInfo.retryCount} times; removing it")
319
removeApplication(appInfo, ApplicationState.FAILED)
320
}
321
0 commit comments