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

Add logging to successful standby checkpointing

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.1.0
    • namenode
    • None
    • 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

        1. HDFS-10528.00.patch
          0.8 kB
          Xiaoyu Yao

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment