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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha1
    • Fix Version/s: 3.0.0-alpha1
    • Component/s: ha
    • Labels:
      None
    • Hadoop Flags:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: