Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-3713

Disallow self-failover when auto failover is enabled

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: None
    • Component/s: auto-failover
    • Labels:
      None

      Description

      When auto failover is enabled, the user can manually failover from a nameservice to itself. When auto failover is disabled, there is a check that prevents failover from a nameservice to itself, we should have the same check for auto failover.

      bash-4.1$ hdfs haadmin -failover nn1 nn1
      Failover to NameNode at brut01.sf.cloudera.com/172.22.35.149:17020 successful
      bash-4.1$ hdfs haadmin -failover nn1 nn1
      Failover to NameNode at brut01.sf.cloudera.com/172.22.35.149:17020 successful
      bash-4.1$
      

        Activity

        Hide
        Eli Collins added a comment -

        Thanks to Stephen Chu for identifying this bug.

        Show
        Eli Collins added a comment - Thanks to Stephen Chu for identifying this bug.
        Hide
        Plamen Jeliazkov added a comment -

        This is a duplicate entry to HDFS-3714.

        Show
        Plamen Jeliazkov added a comment - This is a duplicate entry to HDFS-3714 .

          People

          • Assignee:
            Unassigned
            Reporter:
            Eli Collins
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development