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

Only log warning if considerLoad and considerStorageType are both true

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.1, 3.4.0
    • 3.3.1, 3.4.0
    • hdfs
    • None
    • Reviewed

    Description

      When we implemented HDFS-15255, we added a log message to warn if both dfs.namenode.read.considerLoad and dfs.namenode.read.considerStorageType were set to true, as they cannot be used together.

      Somehow, we failed to wrap the log message in an IF statement, so it is always printed incorrectly.

      Attachments

        1. HDFS-15573.001.patch
          2 kB
          Stephen O'Donnell

        Issue Links

          Activity

            People

              sodonnell Stephen O'Donnell
              sodonnell Stephen O'Donnell
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: