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.

Failed to receive heartbeat from agent. (Current Step)

Re: Failed to receive heartbeat from agent. (Current Step)

Expert Contributor

Great job.

 

I try to keep the names as simple as possible so I can run thousands of scripts.

 

My hosts files is like:

 

127.0.0.1     localhost

 

Looping interfaces from multiple machines. AWS or for example Linode looping you just would use the internal looping device. Fast and quickly managed.

 

#Cloudera Machines

 

192.168.2.1     n1

192.168.2.2     n2

192.168.2.3     n3

         "              n4

         "              n5

         "              n6

         "              n7

 

and so on to make it easier for changes across machines.

 

Such as:

 

for i in {1..300}; do ssh n$i date; done   <-- Checks dates on all machines to make sure each machine is sync'ed.

 

Makes life easier to make it simple.

Re: Failed to receive heartbeat from agent. (Current Step)

Contributor

do you mean you need to use base.hadoopdomain twice in the /etc/hosts name?

I have got the some errors and changed by your hosts file, and still got the same error.

 

mine is looked like following, please let me know if I did wrong here.

127.0.0.1 localdomain localhost
54.186.89.67 ec2-54-186-89-67.us-west-2.compute.amazonaws.com slave3 ec2-54-186-89-67.us-west-2.compute.amazonaws.com
54.186.87.178 ec2-54-186-87-178.us-west-2.compute.amazonaws.com slave2 ec2-54-186-87-178.us-west-2.compute.amazonaws.com

 

thanks,

Robin

Re: Failed to receive heartbeat from agent. (Current Step)

Expert Contributor

Here's a step by step guide to troubleshoot this error:

 

http://www.yourtechchick.com/hadoop/failed-receive-heartbeat-agent-cloudera-hadoop/

Re: Failed to receive heartbeat from agent. (Current Step)

Expert Contributor

Here's a step by step guide to troubleshoot this error:

 

http://www.yourtechchick.com/hadoop/failed-receive-heartbeat-agent-cloudera-hadoop/

Re: Failed to receive heartbeat from agent. (Current Step)

New Contributor

in /etc/hosts for all nodes:

put ip_adress   FQDN   DN 

10.10.1.230 name.domain.com name

 

the FQDN must be before the name