Support Questions
Find answers, ask questions, and share your expertise

Ambari Heartbeat Lost during Installation

Solved Go to solution

Ambari Heartbeat Lost during Installation

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

Accepted Solutions

Re: Ambari Heartbeat Lost during Installation

@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

Re: Ambari Heartbeat Lost during Installation

Expert Contributor

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?

Re: Ambari Heartbeat Lost during Installation

Mentor

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

Re: Ambari Heartbeat Lost during Installation

@Anilkumar Panda

Make sure that your ambari host is correct

make sure that agent is up

iptables is off.

View solution in original post

Re: Ambari Heartbeat Lost during Installation

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

Re: Ambari Heartbeat Lost during Installation

Explorer

Can you share the answer for this issue??

Re: Ambari Heartbeat Lost during Installation

Explorer

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

Re: Ambari Heartbeat Lost during Installation

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