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 detect Cloudera Manager Server

Failed to detect Cloudera Manager Server

Explorer

Hello,

I am trying to start a cluster of 5 nodes through cloudera manager 4.7.1. I am getting the following error on all the nodes.

 

Detecting Cloudera Manager Server...

CentOS release 6.2 (Final)
BEGIN host -t PTR 10.30.97.235
235.97.30.10.in-addr.arpa domain name pointer qfab-spade.imb.uq.edu.au.
END (0)
using qfab-spade.imb.uq.edu.au as scm server hostname
BEGIN which python
END (0)
BEGIN python -c 'import socket; import sys; s = socket.socket(socket.AF_INET); s.settimeout(5.0); s.connect((sys.argv[1], int(sys.argv[2]))); s.close();' qfab-spade.imb.uq.edu.au 7182
/usr/bin/python
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "<string>", line 1, in connect
socket.timeout: timed out
END (1)
could not contact scm server at qfab-spade.imb.uq.edu.au:7182, giving up
waiting for rollback request
 

I have nodes accessible with passwordless ssh. my user has passwordless sudo permissions. My firewall and SELINUX are disabled in all the nodes. I found a few posts on google groups. But I coudnt find appropriate solutions.

 

I hope someone her can me suggest me something.

 

Thanks,

Ashwin

12 REPLIES 12

Re: Failed to detect Cloudera Manager Server

Cloudera Employee

Hi Ashwin, it appears as if this agent cannot connect to your CM server qfab-spade.imb.uq.edu.au on port 7182.  Can you connect to port 7182 on qfab-spade.imb.uq.edu.au from this agent using the following command?

 

echo "quit" | nc -v localhost 7182

 

Also make sure Cloudera Manager Server is listening on port 7182 on qfab-spade.imb.uq.edu.au.

 

fuser -n tcp 7182
7182/tcp: 2442

Are you trying to run this cluster on AWS?

 

-roland

 

Re: Failed to detect Cloudera Manager Server

Cloudera Employee
Sorry that command was supposed to be...

echo "quit" | nc -v qfab-spade.imb.uq.edu.au 7182

Re: Failed to detect Cloudera Manager Server

Explorer

Hello Roland,

 

Thanks for replying back to me. I am trying to create cluster not on AWS

 

But I have fixed that error. I was behind proxy. I tried export http_proxy to env but it didnt work. So I edited /etc/yum.conf and added my proxy details in that. And now I have got past that error. Now I am running into some warnings in the host inpector. Can we discuss this in the same thread or do I have to start a new one?

 

Thanks again.

 

Ashwin

Re: Failed to detect Cloudera Manager Server

Cloudera Employee

Yes - feel free to post your additional question to this thread.

 

-roland

Re: Failed to detect Cloudera Manager Server

New Contributor

Hi,

I am new to hadoop and tried to install cloudera manager this time, I got the same error like yours, it is like: could not find scm server etc.

I'd like to know what you did to edit /etc/yum.conf and add a proxy details in that. 

can copy and paste that part, so I can modify mine accordingly.

 

thanks,

 

Robin

Re: Failed to detect Cloudera Manager Server

New Contributor

Hi,

I got the same error when I install hadoop manager and I am trying to do the same thing you did to fix this error.

However, I dont know what my 'http_proxy' should be. I am new to Hadoop.

Can you share with me the line you added to your yum.conf file?

 

thank you very much,

 

Robin

Re: Failed to detect Cloudera Manager Server

Master Collaborator

@robi this page details how to set up an HTTP proxy in your yum.conf file, however you will need to provide the specific values required by those properties.  In other words, the server, port, username and password will all be specific to your company network.  You can probably discover what they should be set to by contacting your network admin or looking in your Proxy settings of your web browser to see what your browser is using.  HTH.

Re: Failed to detect Cloudera Manager Server

New Contributor
Yes, I hope I can get some help from Cloudera professional.
My questions and errors provided in this email. Please let me know if you
need any more details from me.

I have been working on install every evenings and weekend. Network is my
weakness. I hope I can finished this setup and configurations with Cloudera
manager and go on with Hbase and Hive practice soon.

Your help is greatly appreciated.

Robin

Re: Failed to detect Cloudera Manager Server

New Contributor

Hi rteague, I know this thread is really old, but I'm having this same error while trying to update CDH on my cluster. It is not part of AWS, but things seem to be ok until the socket timeoue. I tried adding the proxy to yum.conf, but it didn't seem to work. I am also able to connect to the scm through terminal with the script you posted

Don't have an account?
Coming from Hortonworks? Activate your account here