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

fix nextBlockReportTime when trigger full block report force

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      When we trigger full block report force by command line, the next block report time will be set like this:

      nextBlockReportTime.getAndAdd(blockReportIntervalMs);

      nextBlockReportTime will larger than blockReportIntervalMs.

      If we trigger full block report twice, the nextBlockReportTime will larger than 2 * blockReportIntervalMs. This is obviously not what we want.

      We fix the nextBlockReportTime = now + blockReportIntervalMs after full block report trigger by command line.

      Attachments

        Issue Links

          Activity

            People

              qinyuren qinyuren
              qinyuren qinyuren
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2.5h
                  2.5h