Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

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

avatar
Contributor

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.

1 ACCEPTED SOLUTION

avatar
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

View solution in original post

3 REPLIES 3

avatar
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

avatar
Contributor

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

avatar
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