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

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

> S3 Gateway initializes DefaultMetricsSystem twice
> -------------------------------------------------
>
>                 Key: HDDS-8395
>                 URL: https://issues.apache.org/jira/browse/HDDS-8395
>             Project: Apache Ozone
>          Issue Type: Improvement
>          Components: S3
>    Affects Versions: 1.3.0, 1.4.0
>            Reporter: okumin
>            Assignee: okumin
>            Priority: Minor
>              Labels: pull-request-available
>
> I observe the following warning when I issue a request to S3 Gateway.
>  
> {code:java}
> ozone-s3g-df95ff75c-4jm4c: 2023-04-07 12:49:54,343 [qtp6519275-23] WARN 
> impl.MetricsSystemImpl: S3Gateway metrics system already initialized! {code}
> I found that's because S3 Gateway initializes DefaultMetricsSystem for erver 
> and client metrics.
>  
>  * 
> [https://github.com/apache/ozone/blob/ozone-1.3.0/hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/Gateway.java#L94]
>  * 
> [https://github.com/apache/ozone/blob/ozone-1.3.0/hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/XceiverClientMetrics.java#L76]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to