[
https://issues.apache.org/jira/browse/HDDS-11466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17883180#comment-17883180
]
Sarveksha Yeshavantha Raju commented on HDDS-11466:
---------------------------------------------------
The {{ozone_suppress_shell_log}} function suppresses all log outputs.
{code:java}
bash-4.4$ ozone sh volume create vol3
bash-4.4$ ozone sh bucket create vol3/buck1
bash-4.4$ ozone sh key put vol3/buck1/key1 key.txt
bash-4.4$
{code}
This is not reproducible unless we change the {{OZONE_LOGLEVEL}} to INFO/WARN.
Output after changing -
{code:java}
bash-4.4$ ozone sh key put vol1/buck1/key1 key.txt
2024-09-20 06:09:24,413 [main] WARN helpers.OzoneFSUtils: Ignoring
ozone.fs.hsync.enabled = true because HBase enhancements are disallowed. To
enable it, set ozone.client.hbase.enhancements.allowed = true as well.
2024-09-20 06:09:24,416 [main] WARN helpers.OzoneFSUtils: Ignoring
ozone.fs.hsync.enabled = true because HBase enhancements are disallowed. To
enable it, set ozone.client.hbase.enhancements.allowed = true as well.
2024-09-20 06:09:24,583 [main] INFO impl.MetricsConfig: Loaded properties from
hadoop-metrics2.properties
2024-09-20 06:09:24,723 [main] INFO impl.MetricsSystemImpl: Scheduled Metric
snapshot period at 10 second(s).
2024-09-20 06:09:24,723 [main] INFO impl.MetricsSystemImpl:
XceiverClientMetrics metrics system started
2024-09-20 06:09:25,036 [main] INFO metrics.MetricRegistries: Loaded
MetricRegistries class
org.apache.ratis.metrics.dropwizard3.Dm3MetricRegistriesImpl
{code}
> 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]