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

Improve Logging in FSNamesystem by adding parameterized logging

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.3.0
    • 3.3.0
    • hdfs
    • None

    Description

      Remove several instances of check for debug log enabled in FSNamesystem one such example is as:

      if (LOG.isDebugEnabled()) {
              LOG.debug("list corrupt file blocks returned: " + count);
      }
      

      This can be replaced by using parameterized logging.

      Attachments

        1. HDFS-14371.002.patch
          3 kB
          Shweta
        2. HDFS-14371.001.patch
          4 kB
          Shweta

        Activity

          People

            shwetayakkali Shweta
            shwetayakkali Shweta
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: