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

[CELEBORN-1856]Support stage-rerun when read partition by chunkOffsets when enable optimize skew partition read #3118

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

wangshengjie123
Copy link
Contributor

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

@wangshengjie123
Copy link
Contributor Author

Cluster test is doing

@wangshengjie123 wangshengjie123 changed the title [WIP]Support stage-rerun when read partition by chunkOffsets when enable optimize skew partition read [WIP][CELEBORN-1856]Support stage-rerun when read partition by chunkOffsets when enable optimize skew partition read Feb 25, 2025
@wangshengjie123 wangshengjie123 changed the title [WIP][CELEBORN-1856]Support stage-rerun when read partition by chunkOffsets when enable optimize skew partition read [CELEBORN-1856]Support stage-rerun when read partition by chunkOffsets when enable optimize skew partition read Feb 25, 2025
@wangshengjie123 wangshengjie123 changed the title [CELEBORN-1856]Support stage-rerun when read partition by chunkOffsets when enable optimize skew partition read [WIP][CELEBORN-1856]Support stage-rerun when read partition by chunkOffsets when enable optimize skew partition read Feb 25, 2025
@RexXiong
Copy link
Contributor

RexXiong commented Mar 5, 2025

Thank you for your efforts, @wangshengjie123 , is there any update?

@wangshengjie123 wangshengjie123 changed the title [WIP][CELEBORN-1856]Support stage-rerun when read partition by chunkOffsets when enable optimize skew partition read [CELEBORN-1856]Support stage-rerun when read partition by chunkOffsets when enable optimize skew partition read Mar 6, 2025
@wangshengjie123
Copy link
Contributor Author

wangshengjie123 commented Mar 6, 2025

Thank you for your efforts, @wangshengjie123 , is there any update?

Updated, fix some data consistency issues.
Testing passed in out cluster.

I will rebase the code later

PTAL, thanks @RexXiong

Copy link
Contributor

@RexXiong RexXiong left a 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()

@turboFei turboFei requested a review from RexXiong March 12, 2025 00:33
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.

2 participants