You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by gu...@apache.org on 2025/03/02 02:00:31 UTC
(spark) branch master updated: [MINOR][DOCS] Fix code comments for Executor
This is an automated email from the ASF dual-hosted git repository.
gurwls223 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new a33f232dc4ef [MINOR][DOCS] Fix code comments for Executor
a33f232dc4ef is described below
commit a33f232dc4efd9af5ca138b98d98c90ac7c21c1a
Author: tomscut <to...@apache.org>
AuthorDate: Sun Mar 2 11:00:19 2025 +0900
[MINOR][DOCS] Fix code comments for Executor
### Why are the changes needed?
After SPARK-23429, the method Executor#startDriverHeartbeat has been removed. We should update the code comment.
### Does this PR introduce any user-facing change?
No.
### How was this patch tested?
No need.
Closes #50116 from tomscut/fix-comments.
Authored-by: tomscut <to...@apache.org>
Signed-off-by: Hyukjin Kwon <gu...@apache.org>
---
core/src/main/scala/org/apache/spark/executor/Executor.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/src/main/scala/org/apache/spark/executor/Executor.scala b/core/src/main/scala/org/apache/spark/executor/Executor.scala
index 50bf0bea87f9..a940bd90d718 100644
--- a/core/src/main/scala/org/apache/spark/executor/Executor.scala
+++ b/core/src/main/scala/org/apache/spark/executor/Executor.scala
@@ -307,7 +307,7 @@ private[spark] class Executor(
"executor-heartbeater",
HEARTBEAT_INTERVAL_MS)
- // must be initialized before running startDriverHeartbeat()
+ // must be initialized before running heartbeater.start()
private val heartbeatReceiverRef =
RpcUtils.makeDriverRef(HeartbeatReceiver.ENDPOINT_NAME, conf, env.rpcEnv)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org