Lokesh Jain created HDDS-6075:
---------------------------------

             Summary: 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


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