Hi to all,
Ambari shows alerts on Zookeper service and Ambari Infra service with this message on the picture in attachement.
Host is also a zookeeper server and Namenode.
I tried with synchronizing server clocks, but nothing.
HDP version: 126.96.36.199
Ambari version: 188.8.131.52
There are many reasons why you are encountering such issue ,lets start by checkin whether your namenode is consistent
sudo su - hdfs $ hdfs dfsadmin -safemode get
If the namenode is in safe mode run the below create point in time edits
$ hdfs dfsadmin -saveNamespace
$ hdfs dfsadmin -safemode leave
Now you should connect if the above doesn't help revert
When HDFS has 2 components Slave process is data node while the master process is Namenode should not be in inconsistent state aka Safemode to be accessible for read and write.
So the above steps are to eliminate that doubt and proceed to the next step of diagnosis if your HDFS is in a consistent state.
Can you share the zookeeper log in /var/log ?
$ ps -aef