stczwd commented on a change in pull request #26433: [SPARK-29771][K8S] Add 
configure to limit executor failures
URL: https://github.com/apache/spark/pull/26433#discussion_r344532781
 
 

 ##########
 File path: 
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/scheduler/cluster/k8s/ExecutorPodsAllocator.scala
 ##########
 @@ -37,6 +37,8 @@ private[spark] class ExecutorPodsAllocator(
     snapshotsStore: ExecutorPodsSnapshotsStore,
     clock: Clock) extends Logging {
 
+  private val EXIT_MAX_EXECUTOR_FAILURES = 10
 
 Review comment:
   Maybe it's better to reuse YARN's EXIT_MAX_EXECUTOR_FAILURES=11.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to