Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-6775

Add more performance logs to DataNode disk/container operations

    XMLWordPrintableJSON

Details

    Description

      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.

      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

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

      Attachments

        Issue Links

          Activity

            People

              weichiu Wei-Chiu Chuang
              weichiu Wei-Chiu Chuang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: