Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
2.0.0-alpha
-
None
Description
If nn1 is active and nn2 is standby "hdfs haadmin -failover nn2 nn1" says that failover to nn1 is successful even though nn1 is already active. When only manual failover is active, there is a check that tells users that the user can't failover to an already active service. We should have the same check for auto failover.
bash-4.1$ hdfs haadmin -failover nn2 nn1 Failover to NameNode at brut01.sf.cloudera.com/172.22.35.149:17020 successful bash-4.1$ hdfs haadmin -failover nn2 nn1 Failover to NameNode at brut01.sf.cloudera.com/172.22.35.149:17020 successful bash-4.1$ hdfs haadmin -failover nn2 nn1 Failover to NameNode at brut01.sf.cloudera.com/172.22.35.149:17020 successful