Github user kayousterhout commented on a diff in the pull request:

    https://github.com/apache/spark/pull/14079#discussion_r77891521
  
    --- Diff: 
core/src/main/scala/org/apache/spark/internal/config/package.scala ---
    @@ -90,6 +92,54 @@ package object config {
         .toSequence
         .createWithDefault(Nil)
     
    +  // Blacklist confs
    +  private[spark] val BLACKLIST_ENABLED =
    +    ConfigBuilder("spark.blacklist.enabled")
    +      .booleanConf
    +      .createOptional
    +
    +  private[spark] val MAX_TASK_ATTEMPTS_PER_EXECUTOR =
    +    ConfigBuilder("spark.blacklist.task.maxTaskAttemptsPerExecutor")
    +      .intConf
    +      .createWithDefault(1)
    +
    +  private[spark] val MAX_TASK_ATTEMPTS_PER_NODE =
    +    ConfigBuilder("spark.blacklist.task.maxTaskAttemptsPerNode")
    --- End diff --
    
    Ah I see that makes sense.  I think the ".tasks" prefix in the config name 
was supposed to add a clue that it's per-task, but I agree with your sentiment 
that if we just did spark.blacklist.task.maxFailureTasksPerNode, it wouldn't be 
clear that it's a per-task threshold.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to