[AURON #2236]support compile with Celeborn 0.6 and spark 4.0#2243
Open
ftong2020 wants to merge 3 commits intoapache:masterfrom
Open
[AURON #2236]support compile with Celeborn 0.6 and spark 4.0#2243ftong2020 wants to merge 3 commits intoapache:masterfrom
ftong2020 wants to merge 3 commits intoapache:masterfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds Spark 4.0 compilation support when building Auron with Celeborn 0.6 by updating Spark-version-gated APIs and aligning Spark 4’s shuffle-write execution behavior with existing Spark 3.x assumptions.
Changes:
- Extend
@sparkvergating forgetPartitionLengths()to include Spark 4.0 in Celeborn 0.6 and RSS shuffle writer implementations. - Update
NativeRDD.compute()to also defer execution forRSS_SHUFFLE_WRITERplans on Spark 4+ (to avoid early execution under the refined ShuffleWriteProcessor flow).
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| thirdparty/auron-celeborn-0.6/src/main/scala/org/apache/spark/sql/execution/auron/shuffle/celeborn/AuronCelebornShuffleWriter.scala | Adds Spark 4.0 to the version-gated getPartitionLengths() override for Celeborn 0.6 integration. |
| spark-extension/src/main/scala/org/apache/spark/sql/execution/auron/shuffle/AuronRssShuffleWriterBase.scala | Adds Spark 4.0 to the version-gated getPartitionLengths() override for RSS shuffle writer base. |
| spark-extension/src/main/scala/org/apache/spark/sql/auron/NativeRDD.scala | Extends the Spark 4+ shuffle-write deferral logic to cover RSS shuffle writer plans as well. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Contributor
|
@ftong2020 Thanks for the contribution! Please update the PR title to include the issue ID: |
Author
sure |
yew1eb
approved these changes
May 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Which issue does this PR close?
Closes #2236
Rationale for this change
Spark 4.0 has been release for over 1 year, and celeborn 0.6 provides official spark 4.0 support.
This change will add spark 4.0 support when auron is compiled with spark 4.0 and celeborn 0.6.
Spark 4.1 supported is not included in this PR since latest celeborn version does not support this configuration. Spark 4.1 also changed signature of Mapstatus.apply(), which demands heavy changes to codebase.
What changes are included in this PR?
Are there any user-facing changes?
no
How was this patch tested?
Tested in our staging env