Skip to content

add better support for integrating with external cluster manager #50770

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dejanzele
Copy link

@dejanzele dejanzele commented Apr 30, 2025

What changes were proposed in this pull request?

  • Remove previous checks in SparkSubmit that restricted use of external managers to specific master URLs.
  • Add new configuration field spark.submit.external.class.

Why are the changes needed?

SparkSubmit currently only supports built-in cluster managers (YARN, Kubernetes, Standalone), making it difficult to integrate custom or third-party schedulers without forking the codebase.
By removing hard-coded restrictions, this patch enables easier integration with various cluster managers.

Now the following is possible (assuming the implementation is loaded):

bin/spark-submit                    \          
  --master armada://localhost:30002 \
  --deploy-mode cluster 

Does this PR introduce any user-facing change?

Yes.

How was this patch tested?

Added unit tests and tested with armadaproject/armada-spark custom integration.

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

No.

@github-actions github-actions bot added the CORE label Apr 30, 2025
@HyukjinKwon
Copy link
Member

Can we file a JIRA? See also https://spark.apache.org/contributing.html

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