Commit 2168df7
committed
[SPARK-54422][K8S] Increase
### What changes were proposed in this pull request?
This PR aims to increase `spark.kubernetes.allocation.batch.size` to 20 from 10 in Apache Spark 4.2.0.
### Why are the changes needed?
Since Apache Spark 4.0.0, Apache Spark uses `10` as the default value of executor allocation batch size. This PR aims to increase it further in 2025.
- #49681
### Does this PR introduce _any_ user-facing change?
Yes, the users will see faster Spark job resource allocation. The migration guide is updated correspondingly.
### How was this patch tested?
Pass the CIs.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #53134 from dongjoon-hyun/SPARK-54422.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>spark.kubernetes.allocation.batch.size to 201 parent 158a132 commit 2168df7
File tree
3 files changed
+6
-2
lines changed- docs
- resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s
3 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
25 | 29 | | |
26 | 30 | | |
27 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
685 | 685 | | |
686 | 686 | | |
687 | 687 | | |
688 | | - | |
| 688 | + | |
689 | 689 | | |
690 | 690 | | |
691 | 691 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
487 | 487 | | |
488 | 488 | | |
489 | 489 | | |
490 | | - | |
| 490 | + | |
491 | 491 | | |
492 | 492 | | |
493 | 493 | | |
| |||
0 commit comments