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 start service via Cloudera manager, Error displays command timed out

Highlighted

Failed to start service via Cloudera manager, Error displays command timed out

Explorer

Hi Team,

 

I am unable to start the services in the hadoop cluster. It displays error message as below:

Command timed-out after 150 seconds

 Cloudera-scm-agent cloudera-scm-server, cloudera-scm-db all are running on the server. In the CM the services aren't starting although.

 

I am guessing issuemight lie in Cloudera Agent log as Cloudera Manager console is accessible.

Please look into the below mentioned logs and assist:

 

[27/Jul/2018 07:36:25 +0000] 2705 MainThread agent ERROR Failed to connect to previous supervisor.
Traceback (most recent call last):
File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.15.0-py2.7.egg/cmf/agent.py", line 2137, in find_or_start_supervisor
self.get_supervisor_process_info()
File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.15.0-py2.7.egg/cmf/agent.py", line 2281, in get_supervisor_process_info
self.identifier = self.supervisor_client.supervisor.getIdentification()
File "/usr/lib64/python2.7/xmlrpclib.py", line 1233, in __call__
return self.__send(self.__name, args)
File "/usr/lib64/python2.7/xmlrpclib.py", line 1587, in __request
verbose=self.__verbose
File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/supervisor-3.0-py2.7.egg/supervisor/xmlrpc.py", line 460, in request
self.connection.request('POST', handler, request_body, self.headers)
File "/usr/lib64/python2.7/httplib.py", line 1017, in request
self._send_request(method, url, body, headers)
File "/usr/lib64/python2.7/httplib.py", line 1051, in _send_request
self.endheaders(body)
File "/usr/lib64/python2.7/httplib.py", line 1013, in endheaders
self._send_output(message_body)
File "/usr/lib64/python2.7/httplib.py", line 864, in _send_output
self.send(msg)
File "/usr/lib64/python2.7/httplib.py", line 826, in send
self.connect()
File "/usr/lib64/python2.7/httplib.py", line 807, in connect

self.timeout, self.source_address)
File "/usr/lib64/python2.7/socket.py", line 571, in create_connection
raise err
error: [Errno 111] Connection refused
[27/Jul/2018 07:36:25 +0000] 2705 MainThread tmpfs INFO Reusing mounted tmpfs at /run/cloudera-scm-agent/process
[27/Jul/2018 07:36:25 +0000] 2705 Dummy-1 daemonize WARNING Stopping daemon.
[27/Jul/2018 07:36:25 +0000] 2705 Dummy-1 agent INFO Stopping agent...
[27/Jul/2018 07:36:25 +0000] 2705 Dummy-1 agent INFO No extant cgroups; unmounting any cgroup roots

1 REPLY 1

Re: Failed to start service via Cloudera manager, Error displays command timed out

Explorer

Hello @nehanirmal

 

Could you tell what have you did and end  up with this issue??