yaooqinn commented on code in PR #40774:
URL: https://github.com/apache/spark/pull/40774#discussion_r1166235911


##########
core/src/main/scala/org/apache/spark/internal/config/package.scala:
##########
@@ -921,6 +921,24 @@ package object config {
       .booleanConf
       .createWithDefault(false)
 
+  private[spark] val MAX_EXECUTOR_FAILURES =
+    ConfigBuilder("spark.executor.maxNumFailures")
+      .doc("Spark exit if the number of failed executors exceeds this 
threshold. " +
+        "This configuration only takes effect on YARN, or on Kubernetes when " 
+
+        "`spark.kubernetes.allocation.pods.allocator` is set to 'direct'.")
+      .version("3.5.0")
+      .intConf
+      .createOptional
+
+  private[spark] val EXECUTOR_ATTEMPT_FAILURE_VALIDITY_INTERVAL_MS =
+    ConfigBuilder("spark.executor.failuresValidityInterval")
+      .doc("Interval after which Executor failures will be considered 
independent and not " +
+        "accumulate towards the attempt count. This configuration only takes 
effect on YARN, " +
+        "or on Kubernetes when `spark.kubernetes.allocation.pods.allocator` is 
set to 'direct'.")

Review Comment:
   ```suggestion
           "or Kubernetes when `spark.kubernetes.allocation.pods.allocator` is 
set to 'direct'.")
   ```



-- 
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]

Reply via email to