Skip to content

Conversation

@adoroszlai
Copy link
Contributor

What changes were proposed in this pull request?

Create and store OzoneClientConfig instance via ConfigurationSource#getObject to ensure actual config values (coming from ozone-site.xml) are injected into the object. Creating new OzoneClientConfig() initializes it with the default values, defined in the class.

(There are similar bugs in some integration tests. Those will be fixed as part of HDDS-10292, to make it easier to backport the fix for prod code.)

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

How was this patch tested?

CI:
https://github.com/adoroszlai/ozone/actions/runs/7778426128

@adoroszlai adoroszlai added bug Something isn't working EC labels Feb 5, 2024
@adoroszlai adoroszlai self-assigned this Feb 5, 2024
@adoroszlai
Copy link
Contributor Author

Thanks @sodonnel for the review.

adoroszlai added a commit to adoroszlai/ozone that referenced this pull request Feb 21, 2024
adoroszlai added a commit to adoroszlai/ozone that referenced this pull request Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working EC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants