Created 10-24-2016 10:11 AM
It seems like the election of the (active)namenode did not correctly take place.
(Hortonworks /ambari 2.4.0.1/ High-availability)
Created 10-24-2016 05:41 PM
In addition to what @dgoodhand mentioned, also make sure of below points -
1. Hostname is correctly set using $hostname and 'hostname -f' command output.
2. Make sure you have correct entries for IPaddress and hostname in 'cat /etc/hosts'
3. Make sure iptables is disabled on all hosts in cluster - '$iptables -L'
4. Selinux must disabled. $sestatus
Created 04-03-2023 11:19 AM
Check if you have FC and if they are started and running
nohup hdfs zkfc
Created 04-07-2023 04:15 PM
Triggering log roll on remote NameNode hdpmaste r2/192.168.1.162:8020 2016-10-24 11:25:52,108 WARN ha.EditLogTailer (EditLogTailer.java:triggerActiveLogRoll(276)) - Unable to trigger a roll of the active NN org.apache.hadoop.ipc.RemoteException (org.apache.hadoop.ipc.StandbyException): Operation category JOURNAL is not supported in state standby
Check the active NN
Example
Action 2
Shutdown whichever of the above was/is the standby from Ambari ensure its stopped.
Action 3
From Ambari do a rolling restart of the zk forum, wait untill all 3 or x are restarted
Action 4
Execute sequentially the below cmd's
$ hdfs dfsadmin -safemode enter
$ hdfs dfsadmin -saveNamespace
$ hdfs dfsadmin -safemode leave
Restart the JN and the above NN service when all is green then you can safely start the standby