[ https://issues.apache.org/jira/browse/SPARK-33220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
angerszhu updated SPARK-33220: ------------------------------ Description: For some schedule behavior, we will `scheduleAtFixedRate` to schedule task or heartbeat RPC etc... If thread blocked by a big fullGc or other reason cause delay, will schedule task repeatedly. For some behavior it's not necessary. We can use `scheduleWithFixedDelay` to avoid it. > `scheduleAtFixedRate` change to `schedulerWithFixedDelay` to avoid repeated > unecessary scheduling for a short time > ------------------------------------------------------------------------------------------------------------------ > > Key: SPARK-33220 > URL: https://issues.apache.org/jira/browse/SPARK-33220 > Project: Spark > Issue Type: Improvement > Components: Spark Core > Affects Versions: 3.1.0 > Reporter: angerszhu > Priority: Major > > For some schedule behavior, we will `scheduleAtFixedRate` to schedule task or > heartbeat RPC etc... > If thread blocked by a big fullGc or other reason cause delay, will schedule > task repeatedly. For some behavior it's not necessary. We can use > `scheduleWithFixedDelay` to avoid it. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org