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

This commit is contained in:
Xiaoyu Yao 2017-11-03 20:34:40 -07:00
parent 59d78a5088
commit 169cdaa38e

View File

@ -439,6 +439,7 @@ private void doWork() {
namesystem.setNeedRollbackFsImage(false);
}
lastCheckpointTime = now;
LOG.info("Checkpoint finished successfully.");
}
} catch (SaveNamespaceCancelledException ce) {
LOG.info("Checkpoint was cancelled: " + ce.getMessage());