You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "dongjoon-hyun (via GitHub)" <gi...@apache.org> on 2025/08/27 18:10:28 UTC

Re: [PR] [SPARK-53157][CORE] Decouple driver and executor polling intervals [spark]

dongjoon-hyun commented on code in PR #51885:
URL: https://github.com/apache/spark/pull/51885#discussion_r2304927777


##########
core/src/main/scala/org/apache/spark/internal/config/package.scala:
##########
@@ -359,6 +359,11 @@ package object config {
       .timeConf(TimeUnit.MILLISECONDS)
       .createWithDefaultString("10s")
 
+  private[spark] val DRIVER_METRICS_POLLING_INTERVAL =
+    ConfigBuilder("spark.driver.metrics.pollingInterval")
+      .version("4.1.0")
+      .fallbackConf(EXECUTOR_HEARTBEAT_INTERVAL)

Review Comment:
   Could you add more fields like `spark.executor.metrics.pollingInterval`, e.g., `.doc` and `.timeConf`? In addition, it would be great if we can place this new configuration to somewhere near the driver configs live instead of here.
   
   https://github.com/apache/spark/blob/86dad8358a42d3c113a6268e9d495e0764b1b85f/core/src/main/scala/org/apache/spark/internal/config/package.scala#L369-L376



-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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