[ 
https://issues.apache.org/jira/browse/HDDS-6075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated HDDS-6075:
---------------------------------
    Labels: pull-request-available  (was: )

> OzoneConfiguration constructor overrides input configuration keys
> -----------------------------------------------------------------
>
>                 Key: HDDS-6075
>                 URL: https://issues.apache.org/jira/browse/HDDS-6075
>             Project: Apache Ozone
>          Issue Type: Bug
>            Reporter: Lokesh Jain
>            Assignee: Lokesh Jain
>            Priority: Major
>              Labels: pull-request-available
>
> OzoneConfiguration constructor which takes a configuration as parameter can 
> override input configuration keys with default resources.
> {code:java}
> public OzoneConfiguration(Configuration conf) {
>   super(conf);
>   //load the configuration from the classloader of the original conf.
>   setClassLoader(conf.getClassLoader());
>   if (!(conf instanceof OzoneConfiguration)) {
>     loadDefaults();
>   }
> }{code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to