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

Improper log message when blockreport interval compared with initial delay

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.0
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
    • Target Version/s:
    • Hadoop Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: