Skip to content

Base cores on sparkContext.defaultParallelism #23

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
benstrum opened this issue Sep 26, 2024 · 0 comments
Open

Base cores on sparkContext.defaultParallelism #23

benstrum opened this issue Sep 26, 2024 · 0 comments

Comments

@benstrum
Copy link

The code and docs show that the number of threads is limited to 2 if spark.driver.cores is not set. There are often times when this value is not set and thus gets set to 2. Suggestions include the following:

  • base the value on sparkContext.defaultParallelism
  • or allow the value to be configured during initialization
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant