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. Want to know more about what has changed? Check out the Community News blog.

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

SOLVED Go to solution
Highlighted

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

Explorer

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

Accepted Solutions

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
3 REPLIES 3

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

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

Explorer

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

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