Skip to content

Commit 3b23873

Browse files
ryan-williamsAndrew Or
authored andcommitted
[SPARK-10871] include number of executor failures in error msg
Author: Ryan Williams <[email protected]> Closes #8939 from ryan-williams/errmsg. (cherry picked from commit b7ad54e) Signed-off-by: Andrew Or <[email protected]>
1 parent d544932 commit 3b23873

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)