Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-10528

Add logging to successful standby checkpointing

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Component/s: namenode
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      This ticket is opened to add INFO log for a successful standby checkpointing in the code below for troubleshooting.

      if (needCheckpoint) {
                  doCheckpoint();
                  // reset needRollbackCheckpoint to false only when we finish a ckpt
                  // for rollback image
                  if (needRollbackCheckpoint
                      && namesystem.getFSImage().hasRollbackFSImage()) {
                    namesystem.setCreatedRollbackImages(true);
                    namesystem.setNeedRollbackFsImage(false);
                  }
                  lastCheckpointTime = now;
                }
              } catch (SaveNamespaceCancelledException ce) {
      

        Attachments

          Activity

            People

            • Assignee:
              xyao Xiaoyu Yao
              Reporter:
              xyao Xiaoyu Yao
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: