[
https://issues.apache.org/jira/browse/HDFS-16426?focusedWorklogId=708284&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-708284
]
ASF GitHub Bot logged work on HDFS-16426:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 13/Jan/22 13:26
Start Date: 13/Jan/22 13:26
Worklog Time Spent: 10m
Work Description: liubingxing opened a new pull request #3887:
URL: https://github.com/apache/hadoop/pull/3887
jira[HDFS-16426](https://issues.apache.org/jira/browse/HDFS-16426)
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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 708284)
Remaining Estimate: 0h
Time Spent: 10m
> fix nextBlockReportTime when trigger full block report force
> ------------------------------------------------------------
>
> Key: HDFS-16426
> URL: https://issues.apache.org/jira/browse/HDFS-16426
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: liubingxing
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]