Skip to content

[#1403] fix(client): RSS client configurations are not working. - #1404

Merged
roryqi merged 1 commit into
apache:masterfrom
rickyma:fix-set-rss-client-config-bugs
Jan 2, 2024
Merged

[#1403] fix(client): RSS client configurations are not working.#1404
roryqi merged 1 commit into
apache:masterfrom
rickyma:fix-set-rss-client-config-bugs

Conversation

@rickyma

@rickyma rickyma commented Dec 28, 2023

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Fix a bug that was introduced from #1228.
When the RssConf variable is not null, it gets overridden by a new RssConf, resulting in the loss of existing parameters within RssConf.

Why are the changes needed?

For #1403

Does this PR introduce any user-facing change?

No.

How was this patch tested?

By setting RSS client configs successfully.

@rickyma

rickyma commented Dec 28, 2023

Copy link
Copy Markdown
Contributor Author

PTAL @jerqi @zuston

@codecov-commenter

codecov-commenter commented Dec 28, 2023

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (995ed46) 53.24% compared to head (b921b6f) 54.18%.
Report is 1 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1404      +/-   ##
============================================
+ Coverage     53.24%   54.18%   +0.94%     
- Complexity     2719     2722       +3     
============================================
  Files           419      399      -20     
  Lines         23966    21605    -2361     
  Branches       2042     2042              
============================================
- Hits          12760    11707    -1053     
+ Misses        10418     9183    -1235     
+ Partials        788      715      -73     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@roryqi

roryqi commented Dec 29, 2023

Copy link
Copy Markdown
Contributor

PTAL @jerqi @zuston

Could you add a ut for this pull request?

@rickyma
rickyma force-pushed the fix-set-rss-client-config-bugs branch from e9270da to d44bdfb Compare December 29, 2023 08:27
@rickyma

rickyma commented Dec 29, 2023

Copy link
Copy Markdown
Contributor Author

PTAL @jerqi @zuston

Could you add a ut for this pull request?

Added. PTAL @jerqi

@rickyma
rickyma force-pushed the fix-set-rss-client-config-bugs branch 2 times, most recently from 2e93f5e to 310aa3d Compare December 29, 2023 17:44
@roryqi roryqi closed this Jan 1, 2024
@roryqi roryqi reopened this Jan 1, 2024
roryqi
roryqi previously approved these changes Jan 1, 2024

@roryqi roryqi 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.

Could you resolve the failures of CI? @rickyma

@roryqi
roryqi dismissed their stale review January 1, 2024 15:09

CI Failed.

@rickyma

rickyma commented Jan 2, 2024

Copy link
Copy Markdown
Contributor Author

@jerqi Can you rerun the CI? I ran the same command locally(mvn package -Dtest=org.apache.uniffle.test.** -Pspark3.0), all tests passed.
image

@rickyma
rickyma requested a review from roryqi January 2, 2024 03:08
@roryqi

roryqi commented Jan 2, 2024

Copy link
Copy Markdown
Contributor

You should format the code

./mvnw spotless:apply -Pspark3 -Pspark2 -Ptez -Pmr -Phadoop2.8

@rickyma
rickyma force-pushed the fix-set-rss-client-config-bugs branch from 310aa3d to b921b6f Compare January 2, 2024 03:45

@roryqi roryqi 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. thanks @rickyma

@rickyma

rickyma commented Jan 2, 2024

Copy link
Copy Markdown
Contributor Author

You should format the code

./mvnw spotless:apply -Pspark3 -Pspark2 -Ptez -Pmr -Phadoop2.8

Got it! Thanks. @jerqi

@roryqi
roryqi merged commit 114ec52 into apache:master Jan 2, 2024
@rickyma
rickyma deleted the fix-set-rss-client-config-bugs branch May 5, 2024 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants