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
1 changed files with 1 additions and 0 deletions

View File

@ -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());