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

SNNs stop uploading FSImage to ANN once isPrimaryCheckPointer changed to false.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 3.0.0-alpha1
    • ha
    • None
    • Reviewed

    Description

      SNNs stop uploading FSImage to ANN once isPrimaryCheckPointer become false.
      Here is the logic to check if upload FSImage or not.
      In StandbyCheckpointer.java
      boolean sendRequest = isPrimaryCheckPointer || secsSinceLast >= checkpointConf.getQuietPeriod();
      doCheckpoint(sendRequest);

      The sendRequest is always false if isPrimaryCheckPointer is false giving secsSinceLast (~checkpointPeriod) >= checkpointConf.getQuietPeriod() (checkpointPeriod * this.quietMultiplier(default value 1.5)) always returns false.

      Attachments

        1. HDFS-9787-v004.patch
          4 kB
          Guocui Mi
        2. HDFS-9787-v003.patch
          4 kB
          Guocui Mi
        3. HDFS-9787-v002.patch
          4 kB
          Guocui Mi
        4. HDFS-9787-v001.patch
          4 kB
          Guocui Mi

        Issue Links

          Activity

            People

              Guocui Guocui Mi
              Guocui Guocui Mi
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: