During the process of failover, Hadoop's ZKFC will take care of switch between ANN <-> SNN. But during this process there is a step called fencing to make sure to shutdown the ANN.
If the ANN's power went off and by having the default strategy of sshfence.
"Switch over will not happen because ssh into ANN will not work and hence compromising the high availability"
From the documentation
"However, when a failover occurs, it is still possible that the previous Active NameNode could serve read requests to clients, which may be out of date until that NameNode shuts down when trying to write to the JournalNodes. For this reason, it is still desirable to configure some fencing methods even when using the Quorum Journal Manager."
- How do other distributed systems solve this problem without compromising high availability?
- If there is an already existing solution to above question, why hdfs is not adopting it?