Skip to content

[SPARK-39266][CORE] Cleanup unused spark.rpc.numRetries and spark.rpc.retry.wait configs#36645

Closed
JoshRosen wants to merge 1 commit into
apache:masterfrom
JoshRosen:cleanup-unused-rpc-configs
Closed

[SPARK-39266][CORE] Cleanup unused spark.rpc.numRetries and spark.rpc.retry.wait configs#36645
JoshRosen wants to merge 1 commit into
apache:masterfrom
JoshRosen:cleanup-unused-rpc-configs

Conversation

@JoshRosen

@JoshRosen JoshRosen commented May 24, 2022

Copy link
Copy Markdown
Contributor

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

@dongjoon-hyun dongjoon-hyun left a comment

Copy link
Copy Markdown
Member

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 .

@weixiuli weixiuli left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

+1, LGTM

@LuciferYang LuciferYang left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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