Details
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
- is caused by
-
HDFS-15167 Block Report Interval shouldn't be reset apart from first Block Report
- Resolved
- links to