lokeshj1703 opened a new pull request #2921:
URL: https://github.com/apache/ozone/pull/2921
## What changes were proposed in this pull request?
OzoneConfiguration constructor which takes a configuration as parameter can
override input configuration keys with default resources.
```
public OzoneConfiguration(Configuration conf) {
super(conf);
//load the configuration from the classloader of the original conf.
setClassLoader(conf.getClassLoader());
if (!(conf instanceof OzoneConfiguration)) {
loadDefaults();
}
}
```
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-6075
## How was this patch tested?
Working on a UT.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]