Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-45670][CORE][3.4] SparkSubmit does not support --total-executor-cores when deploying on K8s #43549

Closed
wants to merge 1 commit into from

Conversation

pan3793
Copy link
Member

@pan3793 pan3793 commented Oct 27, 2023

This is the cherry-pick of #43536 for branch-3.4

What changes were proposed in this pull request?

Remove Kubernetes from the support list of --total-executor-cores in SparkSubmit

Why are the changes needed?

--total-executor-cores does not take effect in Spark on K8s, the
comments from original PR
also proves that

Does this PR introduce any user-facing change?

The output of spark-submit --help changed

...
-  Spark standalone, Mesos and Kubernetes only:
+  Spark standalone and Mesos only:
    --total-executor-cores NUM  Total cores for all executors.
...

How was this patch tested?

Pass GA and review.

Was this patch authored or co-authored using generative AI tooling?

No

…res` when deploying on K8s

Remove Kubernetes from the support list of `--total-executor-cores` in SparkSubmit

`--total-executor-cores` does not take effect in Spark on K8s, [the
comments from original PR](apache#19717 (comment)) also proves that

The output of `spark-submit --help` changed

```patch
...
-  Spark standalone, Mesos and Kubernetes only:
+  Spark standalone and Mesos only:
    --total-executor-cores NUM  Total cores for all executors.
...
```

Pass GA and review.

No

Closes apache#43536 from pan3793/tec.

Authored-by: Cheng Pan <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
@github-actions github-actions bot added the CORE label Oct 27, 2023
@pan3793 pan3793 changed the title [SPARK-45670][CORE][3.4] SparkSubmit does not support --total-executor-cores when deploying on K8s [SPARK-45670][CORE][3.4] SparkSubmit does not support --total-executor-cores when deploying on K8s Oct 27, 2023
HyukjinKwon pushed a commit that referenced this pull request Oct 27, 2023
…or-cores` when deploying on K8s

This is the cherry-pick of #43536 for branch-3.4

### What changes were proposed in this pull request?

Remove Kubernetes from the support list of `--total-executor-cores` in SparkSubmit

### Why are the changes needed?

`--total-executor-cores` does not take effect in Spark on K8s, [the
comments from original PR](#19717 (comment)) also proves that

### Does this PR introduce _any_ user-facing change?

The output of `spark-submit --help` changed

```patch
...
-  Spark standalone, Mesos and Kubernetes only:
+  Spark standalone and Mesos only:
    --total-executor-cores NUM  Total cores for all executors.
...
```
### How was this patch tested?

Pass GA and review.

### Was this patch authored or co-authored using generative AI tooling?

No

Closes #43549 from pan3793/SPARK-45670-3.4.

Authored-by: Cheng Pan <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
@HyukjinKwon
Copy link
Member

Merged to branch-3.4.

szehon-ho pushed a commit to szehon-ho/spark that referenced this pull request Feb 7, 2024
…or-cores` when deploying on K8s

This is the cherry-pick of apache#43536 for branch-3.4

### What changes were proposed in this pull request?

Remove Kubernetes from the support list of `--total-executor-cores` in SparkSubmit

### Why are the changes needed?

`--total-executor-cores` does not take effect in Spark on K8s, [the
comments from original PR](apache#19717 (comment)) also proves that

### Does this PR introduce _any_ user-facing change?

The output of `spark-submit --help` changed

```patch
...
-  Spark standalone, Mesos and Kubernetes only:
+  Spark standalone and Mesos only:
    --total-executor-cores NUM  Total cores for all executors.
...
```
### How was this patch tested?

Pass GA and review.

### Was this patch authored or co-authored using generative AI tooling?

No

Closes apache#43549 from pan3793/SPARK-45670-3.4.

Authored-by: Cheng Pan <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants