diff options
author | Ryan Williams <ryan.blake.williams@gmail.com> | 2015-09-29 13:19:46 -0700 |
---|---|---|
committer | Andrew Or <andrew@databricks.com> | 2015-09-29 13:19:46 -0700 |
commit | b7ad54ec793af1c84973b402f5cceb88307f7996 (patch) | |
tree | 84e9811823678a4bb247db16fb1e21d67ad8e74c | |
parent | dba95ea03216e6b8e623db4a36e1018c6ed95538 (diff) | |
download | spark-b7ad54ec793af1c84973b402f5cceb88307f7996.tar.gz spark-b7ad54ec793af1c84973b402f5cceb88307f7996.tar.bz2 spark-b7ad54ec793af1c84973b402f5cceb88307f7996.zip |
[SPARK-10871] include number of executor failures in error msg
Author: Ryan Williams <ryan.blake.williams@gmail.com>
Closes #8939 from ryan-williams/errmsg.
-rw-r--r-- | yarn/src/main/scala/org/apache/spark/deploy/yarn/ApplicationMaster.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yarn/src/main/scala/org/apache/spark/deploy/yarn/ApplicationMaster.scala b/yarn/src/main/scala/org/apache/spark/deploy/yarn/ApplicationMaster.scala index 93621b44c9..07a0a45e60 100644 --- a/yarn/src/main/scala/org/apache/spark/deploy/yarn/ApplicationMaster.scala +++ b/yarn/src/main/scala/org/apache/spark/deploy/yarn/ApplicationMaster.scala @@ -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() |