Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

How to recover heartbeat from a cluster host after restart?

How to recover heartbeat from a cluster host after restart?

New Contributor

Hello, good morning.

I have a problem with the HDF, one of the hosts was rebooted this weekend and after the reboot, Ambari can not connect to it as it does not get a heartbeat.

Please, someone can tell me what steps I can take to solve it.

image of one of the five offline hosts

image of host detail that does not have a connection

Greetings

3 REPLIES 3

Re: How to recover heartbeat from a cluster host after restart?

Super Mentor

@Lanic

Please check the "/var/log/ambari-agent/ambari-agent.log" file. Also please share the log after restarting it.

We will also need to know if by any chance you have upgraded the Python recently on the problematic host?

# python --version
# grep 'python' /var/log/yum.log

.

Can you also check and let us know if the FQDN of this host got changed recently? Please share the outputs of the following commands from the agent host.

# hostname -f
# cat /etc/hosts
# grep 'hostname' /etc/ambari-agent/conf/ambari-agent.ini

.

Re: How to recover heartbeat from a cluster host after restart?

New Contributor

Hi Jay, i check the log: var/log/ambari-agent/ambari-agent.log

After seeing an authentication error. By performing a tls force everything went back to working properly.

/etc/ambari-agent/conf/ambari-agent.ini

In the section [Security] add "force_https_protocol=PROTOCOL_TLSv1_2"

Thanks!

Re: How to recover heartbeat from a cluster host after restart?

Super Mentor

@Lanic

Just for a reference of other HCC users i am adding the HCC Article link which explains the usage of the mentioned flag:

For CentOS 7, Debian 7, Ubuntu 14 & 16, or SLES 12 (Python 2.7)

To solve the SSL auth error problem simply configure the Ambari Agent to use TLSv1.2 when communicating with the Ambari Server by editing each Ambari Agent’s /etc/ambari-agent/conf/ambari-agent.ini file and adding the following configuration property to the security section:

[security]
force_https_protocol=PROTOCOL_TLSv1_2

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