umamaheswararao commented on code in PR #8475:
URL: https://github.com/apache/ozone/pull/8475#discussion_r2098761235


##########
hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/conf/OzoneConfiguration.java:
##########
@@ -242,10 +209,25 @@ public boolean equals(Object obj) {
     }
   }
 
+  /** Add default resources. */
   public static void activate() {
-    // adds the default resources
-    Configuration.addDefaultResource("hdfs-default.xml");
-    Configuration.addDefaultResource("hdfs-site.xml");
+    // core-default and core-site are added by parent class
+    addDefaultResource("hdfs-default.xml");
+    addDefaultResource("hdfs-site.xml");
+
+    // One generated file per module
+    addDefaultResource("hdds-common-default.xml");

Review Comment:
   That works, thanks



-- 
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]

Reply via email to