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

BlockReaderRemote.read() logging improvement

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.2.0, 3.1.1, 3.0.4
    • Component/s: hdfs-client
    • Labels:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: