hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-10856) Update the comment of BPServiceActor$Scheduler#scheduleNextBlockReport
Date Tue, 13 Sep 2016 06:20:20 GMT

    [ https://issues.apache.org/jira/browse/HDFS-10856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15486400#comment-15486400
] 

Hudson commented on HDFS-10856:
-------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10431 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/10431/])
HDFS-10856. Update the comment of (aajisaka: rev f0876b8b60c19aa25e0417ac0f419a3a82bf210b)
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BPServiceActor.java


> 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
>          Components: documentation
>            Reporter: Akira Ajisaka
>            Assignee: Yiqun Lin
>            Priority: Minor
>              Labels: newbie
>             Fix For: 2.8.0, 3.0.0-alpha2
>
>         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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message