Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

What are the benefits If I enable Namenoe HA without auto failover vs no namenode HA?

avatar
Rising Star

It makes perfect sense if we enable auto failover in a NN HA configuration. But if I just want to enable NN HA without enablhing auto failover, does it provide any advantage comparing single namenode + secondary namnode?

 

NOTE: in my non-ha configuration, I have mounted one of my nn dir to NFS by which provides fault tolerance.

1 ACCEPTED SOLUTION

avatar
Contributor

Hi keagles,

 

It can be still useful to do manual failover in some cases. For example, you would like to do some HW/OS maintenance on the active datanode - you can fail over manually to the other NN without distrupting running processes on the cluster.

 

Also, you can do configuration changes to the NN in the same way. Change config, then restart the Standby NN, it will start with the new configuration, fail over, then restart the other one. See, you updated your NN's settings without the need to do a full cluster stop.

 

These are not possible with a non-HA configuration.

 

 

cheers,

zegab

 

View solution in original post

1 REPLY 1

avatar
Contributor

Hi keagles,

 

It can be still useful to do manual failover in some cases. For example, you would like to do some HW/OS maintenance on the active datanode - you can fail over manually to the other NN without distrupting running processes on the cluster.

 

Also, you can do configuration changes to the NN in the same way. Change config, then restart the Standby NN, it will start with the new configuration, fail over, then restart the other one. See, you updated your NN's settings without the need to do a full cluster stop.

 

These are not possible with a non-HA configuration.

 

 

cheers,

zegab