Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-13712

BlockReaderRemote.read() logging improvement

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.1.0
    • 3.2.0, 3.1.1, 3.0.4
    • hdfs-client
    • None

    Description

      Logger.isTraceEnabled() shows up as a hot method via calls from BlockReaderRemote.read(). The attached patch reduces the number of such calls when trace-logging is turned off, and is on-par when the trace-logging is turned on.

      Attachments

        1. HDFS-13712.000.patch
          1 kB
          Gergo Repas

        Activity

          People

            grepas Gergo Repas
            grepas Gergo Repas
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: