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

Disable Observer NameNode to trigger edit log roll

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: hdfs

      Description

      Currently when Observer is transitioned from StandbyState, the editLogTailer will still send the request to roll editLog to ActiveNN, which should be disabled to keep the definition of "logRollPeriodMs" clear.

      One thing I'm not sure is for a cluster with multi standby Namenode, all the standby NN will trigger the roll. Should this feature be extended to all standby NNs or implementing on observers first?

        Attachments

        1. HDFS-15616.001.patch
          3 kB
          Janus Chow
        2. HDFS-15616.002.patch
          4 kB
          Janus Chow
        3. HDFS-15616.003.patch
          5 kB
          Janus Chow

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Symious Janus Chow
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h