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

    https://github.com/apache/spark/pull/19942#discussion_r156268382
  
    --- Diff: core/src/main/scala/org/apache/spark/SparkConf.scala ---
    @@ -564,6 +564,18 @@ class SparkConf(loadDefaults: Boolean) extends 
Cloneable with Logging with Seria
         val encryptionEnabled = get(NETWORK_ENCRYPTION_ENABLED) || 
get(SASL_ENCRYPTION_ENABLED)
         require(!encryptionEnabled || get(NETWORK_AUTH_ENABLED),
           s"${NETWORK_AUTH_ENABLED.key} must be enabled when enabling 
encryption.")
    +
    +    val executorTimeoutThreshold = 
Utils.timeStringAsSeconds(get("spark.network.timeout", "120s"))
    +    val executorHeartbeatInterval = Utils.timeStringAsSeconds(
    +      get("spark.executor.heartbeatInterval", "10s"))
    +    if (executorHeartbeatInterval > executorTimeoutThreshold) {
    --- End diff --
    
    Done @jiangxb1987  Thanks


---

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

Reply via email to