LuciferYang commented on code in PR #38732:
URL: https://github.com/apache/spark/pull/38732#discussion_r1043152569
##########
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/Config.scala:
##########
@@ -746,6 +746,25 @@ private[spark] object Config extends Logging {
.checkValue(value => value > 0, "Gracefully shutdown period must be a
positive time value")
.createWithDefaultString("20s")
+ val KUBERNETES_MAX_EXECUTOR_FAILURES =
+ ConfigBuilder("spark.kubernetes.executor.maxNumFailures")
+ .doc("Spark exit if the number of failed executors exceeds this
threshold. This " +
+ s"configuration only take effect when
${KUBERNETES_ALLOCATION_PODS_ALLOCATOR.key} " +
+ s"is set to 'direct'.")
+ .version("3.4.0")
+ .intConf
+ .createOptional
+
+ val KUBERNETES_EXECUTOR_ATTEMPT_FAILURE_VALIDITY_INTERVAL_MS =
Review Comment:
The val name is a little long ...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]