-
Notifications
You must be signed in to change notification settings - Fork 28.5k
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-27872][K8s][2.4] Fix executor service account inconsistency #29844
Conversation
@erikerlandson , could you help review this, when you get a chance? |
ok to test |
...ation-tests/src/test/scala/org/apache/spark/deploy/k8s/integrationtest/KubernetesSuite.scala
Outdated
Show resolved
Hide resolved
Test build #129079 has finished for PR 29844 at commit
|
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/Config.scala
Outdated
Show resolved
Hide resolved
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/Config.scala
Outdated
Show resolved
Hide resolved
...ce-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/KubernetesUtils.scala
Show resolved
Hide resolved
...ation-tests/src/test/scala/org/apache/spark/deploy/k8s/integrationtest/BasicTestsSuite.scala
Show resolved
Hide resolved
Is there a test for executor SA that is different than the driver SA? |
Kubernetes integration test starting |
Kubernetes integration test status success |
Test build #129085 has finished for PR 29844 at commit
|
Kubernetes integration test starting |
Kubernetes integration test status success |
Thanks @dongjoon-hyun and @erikerlandson for the review. Let me know if you have more comments that I can address. |
Test build #129091 has finished for PR 29844 at commit
|
Kubernetes integration test starting |
Kubernetes integration test status success |
@nssalian this LGTM - it looks like you exceeded 100 character line length in a few places and that needs to be fixed to pass the build checks. Once it passes the linting and testing I can merge |
Test build #129093 has finished for PR 29844 at commit
|
Test build #129094 has finished for PR 29844 at commit
|
Kubernetes integration test starting |
Test build #129096 has finished for PR 29844 at commit
|
Kubernetes integration test starting |
Kubernetes integration test status success |
Kubernetes integration test status success |
Kubernetes integration test starting |
Kubernetes integration test starting |
Test build #129097 has finished for PR 29844 at commit
|
Kubernetes integration test status success |
@erikerlandson, tests passed. Thanks for your review. |
Kubernetes integration test status failure |
### What changes were proposed in this pull request? Similar patch to #24748 but applied to the branch-2.4. Backporting the fix to releases 2.4.x. Please let me know if I missed some step; I haven't contributed to spark in a long time. Closes #29844 from nssalian/patch-SPARK-27872. Authored-by: nssalian <[email protected]> Signed-off-by: Erik Erlandson <[email protected]>
@nssalian merged to branch-2.4, thanks for the patch! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
passes tests and linting
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/Config.scala
Show resolved
Hide resolved
@erikerlandson Does this conf exist in Apache Spark 3.0.1? |
This merge silently creates a future regression because Apache Spark 3.0 doesn't have this conf.
|
Sorry guys, @erikerlandson and @nssalian . @erikerlandson . Could you revert this commit? @nssalian . You can make a correct PR if you want SPARK-27872. Please don't piggy-back the other improvements silently. It breaks Apache Spark release policy. |
cc @viirya , too. |
@dongjoon-hyun wasn't aware of the PR you mentioned. I can correct this. |
@dongjoon-hyun @erikerlandson I added another PR to fix these changes, easier than a revert. -> #29876 |
Thanks for swift replying, @nssalian . However, your addition PR isn't better than a clean revert in the perspective of downstreams. We had better have a clean and correct commit after reverting. |
Since @erikerlandson seems to be busy, I'll revert the problematic commit first. |
@dongjoon-hyun the changes backported correspond to #24748, and SPARK-27872 was tagged as a bug fix (although a credible argument could be made it was a new feature). |
Yep. It looks like that. I understand the situation, @erikerlandson . The committers had better be more careful because the contributors make this kind of mistakes sometime. BTW, I'm not against SPARK-27872. I'm against SPARK-30122 based on the PR content. |
What changes were proposed in this pull request?
Similar patch to #24748 but applied to the branch-2.4.
Backporting the fix to releases 2.4.x.
Please let me know if I missed some step; I haven't contributed to spark in a long time.