This is an automated email from the ASF dual-hosted git repository.
dongjoon 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 16f639fc7bce [SPARK-55354][CORE][DOCS] Fix `ExecutorAllocationClient`
comment to include `Kubernetes`
16f639fc7bce is described below
commit 16f639fc7bce735135becb207dc5733ae5df809f
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Wed Feb 4 04:13:32 2026 -0800
[SPARK-55354][CORE][DOCS] Fix `ExecutorAllocationClient` comment to include
`Kubernetes`
### What changes were proposed in this pull request?
This PR aims to fix `ExecutorAllocationClient` comment to include
`Kubernetes`.
### Why are the changes needed?
`KubernetesClusterSchedulerBackend` extends `CoarseGrainedSchedulerBackend`
which extends `ExecutorAllocationClient`. The previous comment is outdated
because it was written 12 years ago.
https://github.com/apache/spark/blob/ca1e3e7371ec36719886bbac18bde75203a57020/resource-managers/kubernetes/core/src/main/scala/org/apache/spark/scheduler/cluster/k8s/KubernetesClusterSchedulerBackend.scala#L56
https://github.com/apache/spark/blob/ca1e3e7371ec36719886bbac18bde75203a57020/core/src/main/scala/org/apache/spark/scheduler/cluster/CoarseGrainedSchedulerBackend.scala#L58-L59
### Does this PR introduce _any_ user-facing change?
No, this is a class description change.
### How was this patch tested?
Manual review.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #54131 from dongjoon-hyun/SPARK-55354.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
core/src/main/scala/org/apache/spark/ExecutorAllocationClient.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/core/src/main/scala/org/apache/spark/ExecutorAllocationClient.scala
b/core/src/main/scala/org/apache/spark/ExecutorAllocationClient.scala
index 957408ac24f7..c533f5cbc0b0 100644
--- a/core/src/main/scala/org/apache/spark/ExecutorAllocationClient.scala
+++ b/core/src/main/scala/org/apache/spark/ExecutorAllocationClient.scala
@@ -22,7 +22,7 @@ import org.apache.spark.util.ArrayImplicits._
/**
* A client that communicates with the cluster manager to request or kill
executors.
- * This is currently supported only in YARN mode.
+ * This is currently supported only in Kubernetes and YARN mode.
*/
private[spark] trait ExecutorAllocationClient {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]