-
Notifications
You must be signed in to change notification settings - Fork 411
[CELEBORN-1856]Support stage-rerun when read partition by chunkOffsets when enable optimize skew partition read #3118
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
Conversation
|
Cluster test is doing |
|
Thank you for your efforts, @wangshengjie123 , is there any update? |
Updated, fix some data consistency issues. I will rebase the code later PTAL, thanks @RexXiong |
88fa883 to
264265c
Compare
RexXiong
left a comment
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.
We also need to check (!stage.isIndeterminate && task.stageAttemptId < stage.latestInfo.attemptNumber()) when the task succeeds, just as we would for an indeterminate stage. Skew Partition read task should ignore partition complete event when task.stageAttemptId < stage.latestInfo.attemptNumber()
client/src/main/scala/org/apache/celeborn/client/LifecycleManager.scala
Outdated
Show resolved
Hide resolved
client-spark/spark-3/src/main/java/org/apache/spark/shuffle/celeborn/SparkUtils.java
Outdated
Show resolved
Hide resolved
assets/spark-patch/Celeborn-Optimize-Skew-Partitions-spark3_2.patch
Outdated
Show resolved
Hide resolved
…ts when enable optimize skew partition read
…nstream shuffle, should get a new shuffle id
d4d4ccf to
165a6d9
Compare
|
ping @RexXiong |
|
I also do some simple tests in a mini-cluster, and tests work as expected. Looking forward to this feature being merged into master. |
RexXiong
left a comment
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.
LGTM except a nit
RexXiong
left a comment
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.
LGTM, also thanks @Z1Wu
client-spark/spark-3/src/main/java/org/apache/spark/shuffle/celeborn/SparkShuffleManager.java
Outdated
Show resolved
Hide resolved
|
I think there is no more comments, can we merge it? @RexXiong |
Sure, thanks for your reminder, merge to main(v0.6.0) |
…gisterCelebornSkewedShuffle` for stage rollback ### What changes were proposed in this pull request? Followup for #3118 Add a condition check(isCelebornShuffleIndeterminate) before `registerCelebornSkewedShuffle` for stage rollback. ### Why are the changes needed? Fix the logical. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Minor change. Closes #3209 from turboFei/spark_celeborn_patch. Authored-by: Wang, Fei <[email protected]> Signed-off-by: Wang, Fei <[email protected]>





What changes were proposed in this pull request?
Support stage-rerun when read partition by chunkOffsets when enable optimize skew partition read
Why are the changes needed?
In CELEBORN-1319, we have already implemented the skew partition read optimization based on chunk offsets, but we don't support skew partition shuffle retry, so we need support the stage rerun.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Cluster test