hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From x...@apache.org
Subject hadoop git commit: HDFS-10528. Add logging to successful standby checkpointing. Contributed by Xiaoyu Yao.
Date Sat, 04 Nov 2017 03:36:02 GMT
Repository: hadoop
Updated Branches:
  refs/heads/trunk 59d78a508 -> 169cdaa38


HDFS-10528. Add logging to successful standby checkpointing. Contributed by Xiaoyu Yao.


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

Branch: refs/heads/trunk
Commit: 169cdaa38eca1c0b78f608754eb15d4e6ca87bd9
Parents: 59d78a5
Author: Xiaoyu Yao <xyao@apache.org>
Authored: Fri Nov 3 20:34:40 2017 -0700
Committer: Xiaoyu Yao <xyao@apache.org>
Committed: Fri Nov 3 20:34:40 2017 -0700

----------------------------------------------------------------------
 .../apache/hadoop/hdfs/server/namenode/ha/StandbyCheckpointer.java  | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/169cdaa3/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/StandbyCheckpointer.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/StandbyCheckpointer.java
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/StandbyCheckpointer.java
index 789ed9c..9fc954c 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/StandbyCheckpointer.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/StandbyCheckpointer.java
@@ -439,6 +439,7 @@ public class StandbyCheckpointer {
               namesystem.setNeedRollbackFsImage(false);
             }
             lastCheckpointTime = now;
+            LOG.info("Checkpoint finished successfully.");
           }
         } catch (SaveNamespaceCancelledException ce) {
           LOG.info("Checkpoint was cancelled: " + ce.getMessage());


---------------------------------------------------------------------
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