Community Articles

Find and share helpful community-sourced technical articles.
Labels (1)
avatar
Expert Contributor

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,897 Views
0 Kudos
Comments
avatar
Explorer

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