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

Update the comment of BPServiceActor$Scheduler#scheduleNextBlockReport

    Details

    • Hadoop Flags:
      Reviewed

      Description

      Now the interval is 6 hours by default.

      BPServiceActor$Scheduler#scheduleNextBlockReport
              /* say the last block report was at 8:20:14. The current report
               * should have started around 9:20:14 (default 1 hour interval).
               * If current time is :
               *   1) normal like 9:20:18, next report should be at 10:20:14
               *   2) unexpected like 11:35:43, next report should be at 12:20:14
               */
              nextBlockReportTime +=
                    (((monotonicNow() - nextBlockReportTime + blockReportIntervalMs) /
                        blockReportIntervalMs)) * blockReportIntervalMs;
      

        Attachments

          Activity

            People

            • Assignee:
              linyiqun Yiqun Lin
              Reporter:
              ajisakaa Akira Ajisaka
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: