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

[#630] feat(client): Disable the localShuffleReader by default in Spark3 client #636

Merged
merged 2 commits into from
Feb 21, 2023

Conversation

zuston
Copy link
Member

@zuston zuston commented Feb 21, 2023

What changes were proposed in this pull request?

Disable the localShuffleReader by default in Spark3 client

Why are the changes needed?

in RssShuffleManager, the local shuffle reader should be disabled by default (spark.sql.adaptive.localShuffleReader.enabled=false), as it would cause too many random small IOs and network connections with shuffle servers.

Does this PR introduce any user-facing change?

Yes

How was this patch tested?

Don't need

@codecov-commenter
Copy link

codecov-commenter commented Feb 21, 2023

Codecov Report

Merging #636 (e81cfd0) into master (e20fb62) will increase coverage by 2.29%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #636      +/-   ##
============================================
+ Coverage     60.90%   63.19%   +2.29%     
  Complexity     1799     1799              
============================================
  Files           214      200      -14     
  Lines         12381    10410    -1971     
  Branches       1042     1042              
============================================
- Hits           7541     6579     -962     
+ Misses         4437     3488     -949     
+ Partials        403      343      -60     
Impacted Files Coverage Δ
...tor/pkg/controller/sync/coordinator/coordinator.go
deploy/kubernetes/operator/pkg/utils/config.go
...y/kubernetes/operator/pkg/webhook/inspector/rss.go
...rnetes/operator/pkg/webhook/inspector/inspector.go
...y/kubernetes/operator/pkg/webhook/inspector/pod.go
...oy/kubernetes/operator/pkg/controller/util/util.go
...bernetes/operator/pkg/controller/controller/rss.go
deploy/kubernetes/operator/pkg/webhook/manager.go
...pkg/controller/sync/shuffleserver/shuffleserver.go
...oy/kubernetes/operator/pkg/utils/shufflerserver.go
... and 4 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@zuston zuston linked an issue Feb 21, 2023 that may be closed by this pull request
3 tasks
@kaijchen
Copy link
Contributor

Does this PR introduce any user-facing change?

No

Isn't this a user facing change?

@zuston
Copy link
Member Author

zuston commented Feb 21, 2023

Does this PR introduce any user-facing change?

No

Isn't this a user facing change?

Yes

@zuston
Copy link
Member Author

zuston commented Feb 21, 2023

cc @advancedxy @jerqi

docs/client_guide.md Outdated Show resolved Hide resolved
@advancedxy
Copy link
Contributor

LGTM, left one minor comment.

@zuston zuston merged commit 85b7b3b into apache:master Feb 21, 2023
@zuston
Copy link
Member Author

zuston commented Feb 21, 2023

Thanks @advancedxy . Merged

@zuston zuston deleted the localShuffleRead branch February 21, 2023 11:14
xianjingfeng pushed a commit to xianjingfeng/incubator-uniffle that referenced this pull request Apr 5, 2023
…in Spark3 client (apache#636)

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

Disable the localShuffleReader by default in Spark3 client

### Why are the changes needed?

in `RssShuffleManager`, the local shuffle reader should be disabled by default (`spark.sql.adaptive.localShuffleReader.enabled=false`), as it would cause too many random small IOs and network connections with shuffle servers.

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

Yes

### How was this patch tested?

Don't need
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

Successfully merging this pull request may close these issues.

[FEATURE] Disable the localShuffleRead in Spark client
4 participants