Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • HA branch (HDFS-1623)
    • HA branch (HDFS-1623)
    • ha
    • None
    • Reviewed

    Description

      We need to close out the NN operations categories.

      The following operations should be left as is, ie not failover, as it's reasonable to call these on a standby, and we just need to update the TODO with a comment:

      • setSafeMode (Might want to force the standby out of safemode)
      • restoreFailedStorage (Might want to tell the standby to restore the shared edits dir)
      • saveNamespace, metaSave (Could imagine calling these on a standby eg in a recovery scenario)
      • refreshNodes (Decommissioning needs to refresh the standby)

      The following operations should be checked for READ, as neither should need to be called on standby, will failover unless stale reads are enabled:

      • getTransactionID, getEditLogManifest (we don't checkoint the standby)

      The following operations should be checked for WRITE, as they should not be called on a standby, ie should always failover:

      • finalizeUpgrade, distributedUpgradeProgress (should not be able to upgrade the standby)
      • setBalancerBandwidth (balancer should failover)

      Attachments

        1. hdfs-2922.txt
          8 kB
          Eli Collins
        2. hdfs-2922.txt
          6 kB
          Eli Collins
        3. hdfs-2922.txt
          6 kB
          Eli Collins
        4. hdfs-2922.txt
          6 kB
          Eli Collins

        Activity

          People

            eli Eli Collins
            eli2 Eli Collins
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: