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

    https://github.com/apache/spark/pull/18573#discussion_r126300061
  
    --- Diff: 
core/src/main/scala/org/apache/spark/scheduler/TaskSetManager.scala ---
    @@ -60,6 +61,10 @@ private[spark] class TaskSetManager(
       val SPECULATION_QUANTILE = conf.getDouble("spark.speculation.quantile", 
0.75)
       val SPECULATION_MULTIPLIER = 
conf.getDouble("spark.speculation.multiplier", 1.5)
     
    +  // Threshold for task size in bytes (default is 100KB)
    +  val taskSizeThresholdToWarn = 
conf.getInt("spark.task.size.warnThreshold",
    --- End diff --
    
    Why not use `conf.get(TASK_SIZE_THRESHOLD_TO_WARN)`?


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

Reply via email to