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

[SPARK-32915][SHUFFLE] Create and rename classes in shuffle RPC used for block push operations #30513

Closed
wants to merge 3 commits into from

Conversation

Victsm
Copy link
Contributor

@Victsm Victsm commented Nov 26, 2020

What changes were proposed in this pull request?

This is a follow-up to #29855 according to the comments
In this PR, the following changes are made:

  1. A new BlockPushingListener interface is created specifically for block push, and the existing BlockFetchingListener interface is left backward compatible. These 2 interfaces are unified under BlockTransferListener to enable code reuse.
  2. RetryingBlockFetcher, BlockFetchStarter, and RetryingBlockFetchListener are renamed to RetryingBlockTransferor, BlockTransferStarter, and RetryingBlockTransferListener respectively. This makes their names more generic to be reused across both block fetch and push.
  3. Comments in OneForOneBlockPusher are further clarified to better explain how we handle retries for block push.

Why are the changes needed?

To make code cleaner without sacrificing backward compatibility.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Existing unit tests.

… push. Add BlockPushingListener for block push.
@Victsm
Copy link
Contributor Author

Victsm commented Nov 26, 2020

@otterc this would impact your PR #30312 under review.

@Victsm
Copy link
Contributor Author

Victsm commented Nov 26, 2020

@tgravescs @attilapiros @Ngone51 @mridulm @jiangxb1987 this is a follow up to #29855 to rename classes reused across both block fetch and push as promised.

@github-actions github-actions bot added the CORE label Nov 26, 2020
@tgravescs
Copy link
Contributor

ok to test

@SparkQA
Copy link

SparkQA commented Nov 30, 2020

Test build #131999 has finished for PR 30513 at commit ada02de.

  • This patch fails to build.
  • This patch merges cleanly.
  • This patch adds no public classes.

@github-actions
Copy link

We're closing this PR because it hasn't been updated in a while. This isn't a judgement on the merit of the PR in any way. It's just a way of keeping the PR queue manageable.
If you'd like to revive this PR, please reopen it and ask a committer to remove the Stale tag!

@github-actions github-actions bot added the Stale label Mar 11, 2021
@github-actions github-actions bot closed this Mar 12, 2021
@Victsm Victsm deleted the SPARK-32915-followup branch July 14, 2021 06:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants