Reply
Explorer
Posts: 21
Registered: ‎12-16-2014
Accepted Solution

CDH 5.2.1-1.cdh5.2.1.p0.12 1 Error(s)Error when distributing to

Hi All,

 

I am getting this error when install Cloudera Manager - 

 

CDH 5.2.1-1.cdh5.2.1.p0.12 1 Error(s)

 

  • Error when distributing to hslave : [Errno socket error] [Errno -2] Name or service not known.

 

 

 

hslave is 1 of my slave machine.

Cloudera Employee
Posts: 578
Registered: ‎01-20-2014

Re: CDH 5.2.1-1.cdh5.2.1.p0.12 1 Error(s)Error when distributing to

This is a classic error where name services are not configured correctly.
Please include each node in the /etc/hosts of each node. The contents
should be similar to

10.10.10.10 hostname.domain.com hostname

If you are using DNS, ensure each node's hostname can be resolved from
every other node
Regards,
Gautam Gopalakrishnan
Explorer
Posts: 21
Registered: ‎12-16-2014

Re: CDH 5.2.1-1.cdh5.2.1.p0.12 1 Error(s)Error when distributing to

I have set both the servers names in the hosts file on both the machine, but still giving error.

Highlighted
Cloudera Employee
Posts: 578
Registered: ‎01-20-2014

Re: CDH 5.2.1-1.cdh5.2.1.p0.12 1 Error(s)Error when distributing to

Can you paste the contents of your /etc/hosts file? Also run this
command on your CM host as well as hslave and paste the results here.

# python -c "import socket; print socket.getfqdn(); print
socket.gethostbyname(socket.getfqdn())"


Regards,
Gautam Gopalakrishnan