Skip to content

Conversation

@JoshRosen
Copy link
Contributor

@JoshRosen JoshRosen commented May 24, 2022

What changes were proposed in this pull request?

This PR cleans up the spark.rpc.numRetries and spark.rpc.retry.wait configs, both of which are unused.

Why are the changes needed?

Since SPARK-19450 / #16790 in Spark 2.2.0, both of these configurations are unused and setting them has no effect. Marking the configs as deprecated and cleaning them up from the docs helps to avoid user confusion.

In addition, this cleanup slightly improves the performance of constructing RpcEndpointRefs because it removes two unused fields that were initialized by reading the deprecated configs.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

n/a

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 (Pending CIs). Thank you, @JoshRosen .

Copy link
Contributor

@weixiuli weixiuli 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

Copy link
Contributor

@LuciferYang LuciferYang left a comment

Choose a reason for hiding this comment

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

LGTM +1

@dongjoon-hyun
Copy link
Member

Merged to master. Thank you all!

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.

6 participants