[
https://issues.apache.org/jira/browse/HDDS-11466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17883190#comment-17883190
]
Sarveksha Yeshavantha Raju commented on HDDS-11466:
---------------------------------------------------
*MetricsSystemImpl* and *MetricsConfigs* are java classes under
[apache/hadoop|https://github.com/apache/hadoop/blob/ee2e5ac4e419b8b2a9c3ff22d3a170456795e4f8/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/metrics2/impl/MetricsSystemImpl.java#L191]
repository. I believe we won't be able to make changes through ozone.
[https://github.com/apache/hadoop/pull/797]
Found a similar issue which was resolved like this.
> MetricsSystemImpl should not print INFO message in CLI
> ------------------------------------------------------
>
> Key: HDDS-11466
> URL: https://issues.apache.org/jira/browse/HDDS-11466
> Project: Apache Ozone
> Issue Type: Improvement
> Components: metrics
> Reporter: Tsz-wo Sze
> Assignee: Sarveksha Yeshavantha Raju
> Priority: Major
> Labels: newbie
>
> Below is an example:
> {code}
> # hadoop fs -Dfs.s3a.bucket.probe=0
> -Dfs.s3a.change.detection.version.required=false
> -Dfs.s3a.change.detection.mode=none -Dfs.s3a.endpoint=http://some.site:9878
> -Dfs.s3a.access.keysome=systest -Dfs.s3a.secret.key=8...1
> -Dfs.s3a.endpoint=http://some.site:9878 -Dfs.s3a.path.style.access=true
> -Dfs.s3a.impl=org.apache.hadoop.fs.s3a.S3AFileSystem -ls -R s3a://bucket1/
> 24/09/17 10:47:48 WARN impl.MetricsConfig: Cannot locate configuration: tried
> hadoop-metrics2-s3a-file-system.properties,hadoop-metrics2.properties
> 24/09/17 10:47:48 INFO impl.MetricsSystemImpl: Scheduled Metric snapshot
> period at 10 second(s).
> 24/09/17 10:47:48 INFO impl.MetricsSystemImpl: s3a-file-system metrics system
> started
> 24/09/17 10:47:48 WARN impl.ConfigurationHelper: Option
> fs.s3a.connection.establish.timeout is too low (5,000 ms). Setting to 15,000
> ms instead
> 24/09/17 10:47:50 WARN s3.S3TransferManager: The provided S3AsyncClient is an
> instance of MultipartS3AsyncClient, and thus multipart download feature is
> not enabled. To benefit from all features, consider using
> S3AsyncClient.crtBuilder().build() instead.
> drwxrwxrwx - root root 0 2024-09-17 10:47 s3a://bucket1/dir1
> 24/09/17 10:47:53 INFO impl.MetricsSystemImpl: Stopping s3a-file-system
> metrics system...
> 24/09/17 10:47:53 INFO impl.MetricsSystemImpl: s3a-file-system metrics system
> stopped.
> 24/09/17 10:47:53 INFO impl.MetricsSystemImpl: s3a-file-system metrics system
> shutdown complete.
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]