Wei-Chiu Chuang created HDDS-6775:
-------------------------------------

             Summary: Add more performance logs to DataNode disk/container 
operations
                 Key: HDDS-6775
                 URL: https://issues.apache.org/jira/browse/HDDS-6775
             Project: Apache Ozone
          Issue Type: Improvement
          Components: Ozone Datanode
            Reporter: Wei-Chiu Chuang


Today Ozone DN do not log any warning messages at all for slow operations, 
which makes troubleshooting performance issues very difficult.

On the other hand, HDFS has these warning messages when operations exceed a 
threshold amount of time.
{noformat}
2022-04-23 15:19:00,445 WARN org.apache.hadoop.hdfs.server.datanode.DataNode: 
Slow flushOrSync took 3085ms (threshold=300ms), isSync:true, 
flushTotalNanos=10420ns, volume=file:/data/3/dfs/dn/, 
blockId=1073745940{noformat}

These warnings provides a quick peek at performance problems and should be 
added to Ozone DN as well.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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

Reply via email to