avijayanhwx commented on a change in pull request #715: HDDS-3253. Initialize 
Recon metrics for prometheus at /prom endpoint
URL: https://github.com/apache/hadoop-ozone/pull/715#discussion_r397943155
 
 

 ##########
 File path: 
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/ReconServer.java
 ##########
 @@ -67,6 +69,7 @@ public static void main(String[] args) {
   public Void call() throws Exception {
     OzoneConfiguration ozoneConfiguration = createOzoneConfiguration();
     ConfigurationProvider.setConfiguration(ozoneConfiguration);
+    configuration = ozoneConfiguration;
 
 Review comment:
   Why not convert the variable in Line 72 as a field?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org

Reply via email to