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

Suppress verbose log message in BlockPlacementPolicyDefault

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha2
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      We saw an instance where this log message was generated millions of times in a short time interval, slowing the NameNode to a crawl. It can probably be changed to log at DEBUG level instead.

            if (cur == null) {
              LOG.warn("No excess replica can be found. excessTypes: "+excessTypes+
                  ". moreThanOne: "+moreThanOne+". exactlyOne: "+exactlyOne+".");
              break;
            }
      

        Attachments

        1. HDFS-11054.002.patch
          1 kB
          Chen Liang
        2. HDFS-11054.001.patch
          1 kB
          Chen Liang

          Activity

            People

            • Assignee:
              vagarychen Chen Liang
              Reporter:
              arpitagarwal Arpit Agarwal
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: