Tsz-wo Sze created HDDS-11466:
---------------------------------
Summary: 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
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]