Skip to content

Conversation

@LuciferYang
Copy link
Contributor

@LuciferYang LuciferYang commented Dec 5, 2025

What changes were proposed in this pull request?

This pr aims to remove the unused method toStringHelper from AbstractFetchShuffleBlocks.java because it is no longer used after #51572.

Why are the changes needed?

Code cleanup.

Does this PR introduce any user-facing change?

No

How was this patch tested?

  • Pass Github Actions

Was this patch authored or co-authored using generative AI tooling?

No

@github-actions github-actions bot added the CORE label Dec 5, 2025
@LuciferYang LuciferYang changed the title [SPARK-54607][CORE] Remove the unused method toStringHelper from AbstractFetchShuffleBlocks.java [SPARK-54607][CORE] Remove unused method toStringHelper from AbstractFetchShuffleBlocks.java Dec 5, 2025
}

// checkstyle.off: RegexpSinglelineJava
public ToStringBuilder toStringHelper() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIRC, I didn't delete this intentionally because this is public method of public class, @LuciferYang .

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm wondering if this is safe and you are sure that AbstractFetchShuffleBlocks is not referenced by any case outside of Apache Spark? What about Apache Celeborn or Apache Uniffle?

Copy link
Contributor Author

@LuciferYang LuciferYang Dec 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Judging from GitHub's search results, apart from Spark, no other code repositories, including Apache Celeorn and Apache Uniffle, are using AbstractFetchShuffleBlocks.

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, LGTM for Apache Spark 4.2.0.

@LuciferYang
Copy link
Contributor Author

Merged into master. Thanks @dongjoon-hyun

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants