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

Improper log message when blockreport interval compared with initial delay

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.7.0
    • 2.8.0, 3.0.0-alpha1
    • None
    • Reviewed

    Description

      Log message is telling if initialDelay is more than blockReportInterval setting to 0.
      But actuall check is greaterthan and equal..like following..It is misleading initail I thought if it
      is equal then initailBr wn't set to zero.

      if (initBRDelay >= blockReportInterval) {
            initBRDelay = 0;
            DataNode.LOG.info("dfs.blockreport.initialDelay is greater than " +
                "dfs.blockreport.intervalMsec." + " Setting initial delay to 0 msec:");
          }
      

      Attachments

        1. Hadoop-8253.patch
          0.9 kB
          Ashish Singhi
        2. Hadoop-8253.patch
          0.9 kB
          Ashish Singhi
        3. HDFS-8207.patch
          1.0 kB
          Brahma Reddy Battula

        Activity

          People

            brahmareddy Brahma Reddy Battula
            brahmareddy Brahma Reddy Battula
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: