Skip to content

Conversation

@Russole
Copy link
Contributor

@Russole Russole commented Dec 25, 2025

What changes were proposed in this pull request?

*Moved getSCMAddressForDatanodes (both overloads) from HddsUtils to HddsServerUtil, as they are only used by server-side components.
*Relocated test cases covering getSCMAddressForDatanodes from TestHddsUtils to TestHddsServerUtil.
*Updated imports and references to match the new utility location.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-14022

How was this patch tested?

I relied on existing unit and integration tests, and verified that the full CI passed on my fork.
Please let me know if additional tests are needed.

@rich7420
Copy link
Contributor

@Russole thanks for the patch! LGTM!

Copy link
Contributor

@adoroszlai adoroszlai left a comment

Choose a reason for hiding this comment

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

Thanks @Russole for the patch, LGTM. However, I just noticed that getReconAddresses should also be moved (and please rename it to getReconAddressForDatanodes, since it is a single, datanode-specific address). Sorry for missing it in the Jira description.

@Russole Russole requested a review from adoroszlai December 26, 2025 18:28
@Russole
Copy link
Contributor Author

Russole commented Dec 26, 2025

Thanks @rich7420 and @adoroszlai for the reviews. I’ve now moved getReconAddresses and renamed it to getReconAddressForDatanodes to better represent its usage. The patch has been updated accordingly.

@adoroszlai adoroszlai merged commit cc2ba99 into apache:master Dec 27, 2025
43 checks passed
@adoroszlai
Copy link
Contributor

Thanks @Russole for the patch, @rich7420 for the review.

@rich7420
Copy link
Contributor

@Russole , @adoroszlai thanks!

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