Support Questions

Find answers, ask questions, and share your expertise
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

How to update NameNode Configuration with HA enabled?

New Contributor

I need to update NameNode Heap Size because we keep receiving NAMENODE_PAUSE_DURATION alerts. 


I'm going to change this configuration in cloudera Manager: HDFS -> Configuration -> NameNode -> Java Heap Size of Namenode in Bytes. 


I believe Cloudera Manager will ask to restart the NameNode service. Will the restart break the clients?


Or I should do manually.


  • Restart StandBy after updating the configuration.
  • Manually failover to StandBy.
  • Restart Active,
  • Then manually failover to Active.

I'm running CM/CDH 5.3.2 with HA enabled. 


Hi! I'm going to implement the same procedure. Did it work for you?




If you have enabled automatic failover you dont need to manually failover , just stop the namenode that you gonna the change the configuration wait for the other namenode to become active so that you are not disrupting the users after that again start the namenode that you stopped before. 

Expert Contributor



You can try performing "Rolling Restart" of your service. 


For details refer, Rolling Restart - "During a cluster restart, to avoid having your NameNode (and thus the cluster) be unavailable during the restart, Cloudera Manager forces a failover to the standby NameNode."


Hope that helps.

Super Guru



Your steps are fine, but it appears that you are concerned about clients.


HDFS client code is written in a way that allows it to fail over to another NameNode.  While we cannot predict all circumstances, clients should be able to detect the namenode state and use the new active NameNode more or less seemlessly.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.