Support Questions

Find answers, ask questions, and share your expertise

Ambari Heartbeat Lost during Installation

avatar
Contributor

We are trying to install , HDP via Ambari 2.1, but we during the install process, the ambari server (ambari-server.log) reports that it has lost an heart beat of the agent.

Error Message :

Heartbeat lost from host amabri.agent.com

The ambari-agent log reports:

Failed to connect to https://amabri-server.com:8440/connection_info due to [Errno 111] Connection refused

We are using openjdk 1.7 on RHEL 6.6 64 bit.

Any pointer to the issue would help immensely ?

1 ACCEPTED SOLUTION

avatar
Master Mentor
@Anilkumar Panda

Make sure that your ambari host is correct

make sure that agent is up

iptables is off.

View solution in original post

7 REPLIES 7

avatar
Super Collaborator

what is the output of

curl –u user:passwd http://AmbariHost:8080/api/v1/hosts and curl –u user:passwd http://AmbariHost:8080/api/v1/clusters/YourClusterName/hosts.

Is the hosts listed are same?

avatar
Master Mentor

is the machine with agent still up? Check the uptime. @Anilkumar Panda

avatar
Master Mentor
@Anilkumar Panda

Make sure that your ambari host is correct

make sure that agent is up

iptables is off.

avatar
Contributor

Hi All,

We were able to solve to issue, it was an issue with the host-names and ip addresses not being set correctly .

Thanks for you replies @Neeraj Sabharwal @Artem Ervits @pankaj singh

avatar
Explorer

Can you share the answer for this issue??

avatar
Contributor

Can you share more details about your solution? Which config / system files you had to change?

avatar
Contributor

It was edit to the /etc/hosts files in all the nodes . The hosts file was not set up correctly .