Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@

import io.netty.buffer.ByteBuf;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.apache.spark.network.protocol.Encoders;

/**
Expand All @@ -44,15 +42,6 @@ protected AbstractFetchShuffleBlocks(
this.shuffleId = shuffleId;
}

// 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.

return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE)
.append("appId", appId)
.append("execId", execId)
.append("shuffleId", shuffleId);
}
// checkstyle.on: RegexpSinglelineJava

/**
* Returns number of blocks in the request.
*/
Expand Down