HDFS-10528. Add logging to successful standby checkpointing. Contributed by Xiaoyu Yao.
This commit is contained in:
parent
59d78a5088
commit
169cdaa38e
@ -439,6 +439,7 @@ private void doWork() {
|
|||||||
namesystem.setNeedRollbackFsImage(false);
|
namesystem.setNeedRollbackFsImage(false);
|
||||||
}
|
}
|
||||||
lastCheckpointTime = now;
|
lastCheckpointTime = now;
|
||||||
|
LOG.info("Checkpoint finished successfully.");
|
||||||
}
|
}
|
||||||
} catch (SaveNamespaceCancelledException ce) {
|
} catch (SaveNamespaceCancelledException ce) {
|
||||||
LOG.info("Checkpoint was cancelled: " + ce.getMessage());
|
LOG.info("Checkpoint was cancelled: " + ce.getMessage());
|
||||||
|
Loading…
Reference in New Issue
Block a user