[ https://issues.apache.org/jira/browse/HDFS-10856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15484329#comment-15484329 ]
Yiqun Lin edited comment on HDFS-10856 at 9/12/16 2:50 PM: ----------------------------------------------------------- Sorry, [~ajisakaa], it seems that the v001 patch still can't been merged even though I have been updated the codes. I think there was something error when I make a git diff in windows(since that it's my first time to create a patch in windows :(). I will post a correct patch soon. was (Author: linyiqun): Sorry, [~ajisakaa], it seems that the v001 patch still can't been merged even though I have been updated the codes. I think there was something error when I make a git diff in windows. I will post a correct patch soon. > Update the comment of BPServiceActor$Scheduler#scheduleNextBlockReport > ---------------------------------------------------------------------- > > Key: HDFS-10856 > URL: https://issues.apache.org/jira/browse/HDFS-10856 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Akira Ajisaka > Assignee: Yiqun Lin > Priority: Minor > Labels: newbie > Attachments: HDFS-10856.001.patch > > > Now the interval is 6 hours by default. > {code:title=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; > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org