Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

I have installed Ambari 3 days ago and was able to get the services HDFS, Yarn, Zookeeper running completely fine but today I got an error of Heartbeat lost for all 3 nodes .

avatar


I have tried uninstalling and reinstalling Ambari-agent and conform that Ambari-agent is running on all three hosts with /etc/hosts file edited with IP address. How can I get back the heart beat of agents to contact with the server.

1 ACCEPTED SOLUTION

avatar

Hi @Shraddha Singh,

There can be two reasons for this issue . you can fix out solutions by one by one

1) Solution 1 : https://community.hortonworks.com/articles/188269/javapython-updates-and-ambari-agent-tls-settings.h...

2) Solution 2: refer to : https://community.hortonworks.com/questions/120861/ambari-agent-ssl-certificate-verify-failed-certif...

sed -i 's/verify=platform_default/verify=disable/'/etc/python/cert-verification.cfg

Refer to . https://community.hortonworks.com/questions/138820/ambari-server-failing-to-communicate-with-ambari-...

Please accept answer as helpfull if it helped you.

View solution in original post

3 REPLIES 3

avatar

Hi @Shraddha Singh ,

Can you please share the output of

tail -f /var/log/ambari-agent/ambari-agent.log

probably it wont be able to connect to Ambari-server due to some python vulnerability . refer to . : https://community.hortonworks.com/questions/222311/i-have-installed-ambari-3-days-ago-and-was-able-t...

Hope this helps

avatar

Please find attached the screenshot of the result of command executed.

92529-screenshot-70.png92529-screenshot-70.png

avatar

Hi @Shraddha Singh,

There can be two reasons for this issue . you can fix out solutions by one by one

1) Solution 1 : https://community.hortonworks.com/articles/188269/javapython-updates-and-ambari-agent-tls-settings.h...

2) Solution 2: refer to : https://community.hortonworks.com/questions/120861/ambari-agent-ssl-certificate-verify-failed-certif...

sed -i 's/verify=platform_default/verify=disable/'/etc/python/cert-verification.cfg

Refer to . https://community.hortonworks.com/questions/138820/ambari-server-failing-to-communicate-with-ambari-...

Please accept answer as helpfull if it helped you.