Github user twinkle-sachdeva commented on a diff in the pull request:
https://github.com/apache/spark/pull/5449#discussion_r28215509
--- Diff:
yarn/src/main/scala/org/apache/spark/deploy/yarn/ApplicationMaster.scala ---
@@ -59,6 +59,10 @@ private[spark] class ApplicationMaster(
private val maxNumExecutorFailures =
sparkConf.getInt("spark.yarn.max.executor.failures",
sparkConf.getInt("spark.yarn.max.worker.failures",
math.max(args.numExecutors * 2, 3)))
+ // Disable the maximum executor failure check
+ private val disableMaxExecutorFailureCheck =
+
sparkConf.getBoolean("spark.yarn.max.executor.failures.disable", false)
--- End diff --
Looks good, will treat maxNumExecutorFailures = -1 as disable state for
this check.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]