11-09-2017 04:55 PM
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.
I'm running CM/CDH 5.3.2 with HA enabled.
01-08-2018 04:01 AM
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.
01-08-2018 06:12 AM
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.
01-08-2018 10:38 AM
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.