Skip to content

[SPARK-43352][K8S][TEST] Inline DepsTestsSuite#setPythonSparkConfProperties#41030

Closed
pan3793 wants to merge 2 commits intoapache:masterfrom
pan3793:SPARK-43352
Closed

[SPARK-43352][K8S][TEST] Inline DepsTestsSuite#setPythonSparkConfProperties#41030
pan3793 wants to merge 2 commits intoapache:masterfrom
pan3793:SPARK-43352

Conversation

@pan3793
Copy link
Member

@pan3793 pan3793 commented May 3, 2023

What changes were proposed in this pull request?

Inline DepsTestsSuite#setPythonSparkConfProperties, which was introduced in SPARK-27936.

Why are the changes needed?

The setPythonSparkConfProperties is only invoked in one place, doesn't look helping the readability much. Besides, it should use conf instead of sparkAppConf

Does this PR introduce any user-facing change?

No. Since the caller always passes the sparkAppConf, this bug affects nothing actually.

How was this patch tested?

Pass GA.

@pan3793
Copy link
Member Author

pan3793 commented May 3, 2023

cc @HyukjinKwon

@pan3793 pan3793 changed the title [SPARK-43352][K8S][TEST] setPythonSparkConfProperties should use conf instead of sparkAppConf [SPARK-43352][K8S][TEST] Inline DepsTestsSuite#setPythonSparkConfProperties May 3, 2023
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. Nice catch!
Thank you, @pan3793 and @HyukjinKwon .
Merged to master for Apache Spark 3.5.0.

LuciferYang pushed a commit to LuciferYang/spark that referenced this pull request May 10, 2023
…perties`

### What changes were proposed in this pull request?

Inline `DepsTestsSuite#setPythonSparkConfProperties`, which was introduced in SPARK-27936.

### Why are the changes needed?

The `setPythonSparkConfProperties` is only invoked in one place, doesn't look helping the readability much. Besides, it should use `conf` instead of `sparkAppConf`

### Does this PR introduce _any_ user-facing change?

No. Since the caller always passes the `sparkAppConf`, this bug affects nothing actually.

### How was this patch tested?

Pass GA.

Closes apache#41030 from pan3793/SPARK-43352.

Authored-by: Cheng Pan <chengpan@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
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