You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ozone.apache.org by ad...@apache.org on 2022/05/22 15:01:19 UTC

[ozone] branch master updated: HDDS-6779. Register metricSink after initialization in S3 Gateway (#3436)

This is an automated email from the ASF dual-hosted git repository.

adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git


The following commit(s) were added to refs/heads/master by this push:
     new 2b8c4b7324 HDDS-6779. Register metricSink after initialization in S3 Gateway (#3436)
2b8c4b7324 is described below

commit 2b8c4b73244df27f6e285c69baf77403f5ea0aa5
Author: Symious <yi...@foxmail.com>
AuthorDate: Sun May 22 23:01:13 2022 +0800

    HDDS-6779. Register metricSink after initialization in S3 Gateway (#3436)
---
 .../s3gateway/src/main/java/org/apache/hadoop/ozone/s3/Gateway.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/Gateway.java b/hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/Gateway.java
index d453418b73..b8153f0209 100644
--- a/hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/Gateway.java
+++ b/hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/Gateway.java
@@ -91,8 +91,8 @@ public class Gateway extends GenericCli {
         Gateway.class, originalArgs, LOG);
 
     LOG.info("Starting Ozone S3 gateway");
-    httpServer.start();
     HddsServerUtil.initializeMetrics(ozoneConfiguration, "S3Gateway");
+    httpServer.start();
   }
 
   public void stop() throws Exception {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ozone.apache.org
For additional commands, e-mail: commits-help@ozone.apache.org