Reply
Explorer
Posts: 24
Registered: ‎04-17-2017

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

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

Highlighted
Contributor
Posts: 37
Registered: ‎05-21-2018

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

Hello @nehanirmal

 

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

Announcements