Skip to content
Snippets Groups Projects
Commit b7ad54ec authored by Ryan Williams's avatar Ryan Williams Committed by Andrew Or
Browse files

[SPARK-10871] include number of executor failures in error msg

Author: Ryan Williams <ryan.blake.williams@gmail.com>

Closes #8939 from ryan-williams/errmsg.
parent dba95ea0
No related branches found
No related tags found
No related merge requests found
......@@ -345,7 +345,7 @@ private[spark] class ApplicationMaster(
if (allocator.getNumExecutorsFailed >= maxNumExecutorFailures) {
finish(FinalApplicationStatus.FAILED,
ApplicationMaster.EXIT_MAX_EXECUTOR_FAILURES,
"Max number of executor failures reached")
s"Max number of executor failures ($maxNumExecutorFailures) reached")
} else {
logDebug("Sending progress")
allocator.allocateResources()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment