hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dran...@apache.org
Subject [50/50] [abbrv] hadoop git commit: HDFS-10856. Update the comment of BPServiceActor$Scheduler#scheduleNextBlockReport. Contributed by Yiqun Lin.
Date Tue, 13 Sep 2016 08:30:04 GMT
HDFS-10856. Update the comment of BPServiceActor$Scheduler#scheduleNextBlockReport. Contributed
by Yiqun Lin.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/f0876b8b
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/f0876b8b
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/f0876b8b

Branch: refs/heads/HDFS-10285
Commit: f0876b8b60c19aa25e0417ac0f419a3a82bf210b
Parents: d2466ec
Author: Akira Ajisaka <aajisaka@apache.org>
Authored: Tue Sep 13 14:50:03 2016 +0900
Committer: Akira Ajisaka <aajisaka@apache.org>
Committed: Tue Sep 13 14:50:03 2016 +0900

----------------------------------------------------------------------
 .../apache/hadoop/hdfs/server/datanode/BPServiceActor.java    | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/f0876b8b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BPServiceActor.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BPServiceActor.java
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BPServiceActor.java
index 4bde758..f3247fc 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BPServiceActor.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BPServiceActor.java
@@ -1179,10 +1179,11 @@ class BPServiceActor implements Runnable {
         resetBlockReportTime = false;
       } else {
         /* say the last block report was at 8:20:14. The current report
-         * should have started around 9:20:14 (default 1 hour interval).
+         * should have started around 14:20:14 (default 6 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
+         *   1) normal like 14:20:18, next report should be at 20:20:14.
+         *   2) unexpected like 21:35:43, next report should be at 2:20:14
+         *      on the next day.
          */
         nextBlockReportTime +=
               (((monotonicNow() - nextBlockReportTime + blockReportIntervalMs) /


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message