Skip to content

Commit b7ad54e

Browse files
ryan-williamsAndrew Or
authored andcommitted
[SPARK-10871] include number of executor failures in error msg
Author: Ryan Williams <ryan.blake.williams@gmail.com> Closes apache#8939 from ryan-williams/errmsg.
1 parent dba95ea commit b7ad54e

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)