Created 04-13-2017 12:30 PM
I'm running on HDP 2.3 hosted on AWS and Ambari version is 2.1
NameNode HA is enabled and I can see two name nodes as active in the Ambari. Attached screenshot for reference.
ZookeeperFailControllers are running fine.
When I Start HDFS from command line using the below command, the namenode service on the node from which I execute the command is working and causing the other name node to stop.
sudo -u hdfs /usr/hdp/2.3.6.0-3796/hadoop/sbin/hadoop-daemon.sh start namenode
I formatted Zookeeper and restartwed HDFS, still no luck.
When I open zkCli and checked, there is no ActiveStandbyElectorLock and I found the ephermal node value as 0*0
Any help would be appreciated.
Thanks,
Sai Dileep.
Created 04-13-2017 01:46 PM
@Jay SenSharma Any idea ?
Thanks in Advance.
Created 06-08-2017 08:26 AM
i am also having the same issue... can you help me out
Created 06-29-2017 04:42 AM
Please refer to api calls in the following thread to check ha_state of the name node and make sure it is correctly set. If not, please attach the response and we can look into the problem further.
https://community.hortonworks.com/questions/39005/activestandby-for-ha-components.html
Created 05-24-2018 08:51 AM
The best solution is to stop all the services and start Zookeeper only. And then go to CLI where your namenode is present. Run the command => hdfs zkfc -formatZK (you'll be asked for an option as Y or N, input Y) and through ambari start all the services again. Your Namenode will be in Active-Standby mode again!
Created 11-17-2018 04:41 PM
Thank's for your suggestion, it's worked fine for me