Skip to main content
ahallam
Gold ⭐️
August 7, 2017

How to force Namenode failover in HA

  • October 5, 2026 at 9:19 AM
  • 1 reply
  • 2499 views
  • Translate All

If you would like NN1 to be active namenode, you can do it by stopping ZKFC of NN2 via ambari.

After ~10 sec the failover should happend the the other NN become the active

1 reply

abhijth8
Silver ⭐️
August 10, 2017

Doing this process may lead to bad things in a production cluster. The right way would be.

hdfs haadmin -failover nn1 nn2

The NN UI shows the service tags

Translate