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

Suppress verbose log message in BlockPlacementPolicyDefault

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha2
    • None
    • None
    • 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

            vagarychen Chen Liang
            arp Arpit Agarwal
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: