Skip to content

Commit 52ad7f3

Browse files
committed
include number of executor failures in error msg
1 parent 9b9fe5f commit 52ad7f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

yarn/src/main/scala/org/apache/spark/deploy/yarn/ApplicationMaster.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ private[spark] class ApplicationMaster(
345345
if (allocator.getNumExecutorsFailed >= maxNumExecutorFailures) {
346346
finish(FinalApplicationStatus.FAILED,
347347
ApplicationMaster.EXIT_MAX_EXECUTOR_FAILURES,
348-
"Max number of executor failures reached")
348+
s"Max number of executor failures ($maxNumExecutorFailures) reached")
349349
} else {
350350
logDebug("Sending progress")
351351
allocator.allocateResources()

0 commit comments

Comments
 (0)