all ports open. How do I resovle? All machines are distributed the same
pub and private keys
' Installation failed. Failed to receive heartbeat from agent.
Ensure that the host's hostname is configured properly.
Ensure that port 7182 is accessible on the Cloudera Manager Server
(check firewall rules).
Ensure that ports 9000 and 9001 are free on the host being added.
Check agent logs in /var/log/cloudera-scm-agent/ on the host being
added (some of the logs can be found in the installation details).
Below is the first error in cloudera-scm-agent.log on the host I added.
[20/Apr/2014 03:41:41 +0000] 2974 MainThread agent INFO
Chmod'ing /run/cloudera-scm-agent/supervisor to 0751
[20/Apr/2014 03:41:41 +0000] 2974 MainThread agent INFO Created
/run/cloudera-scm-agent/supervisor/include
[20/Apr/2014 03:41:41 +0000] 2974 MainThread agent INFO
Chmod'ing /run/cloudera-scm-agent/supervisor/include to 0751
[20/Apr/2014 03:41:41 +0000] 2974 MainThread agent ERROR Failed
to connect to previous supervisor.
Traceback (most recent call last):
File "/usr/lib/cmf/agent/src/cmf/agent.py", line 1230, in
find_or_start_supervisor
self.configure_supervisor_clients()
File "/usr/lib/cmf/agent/src/cmf/agent.py", line 1453, in
configure_supervisor_clients
supervisor_options.realize(args=["-c",
os.path.join(self.supervisor_dir, "supervisord.conf")])
File
"/usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/supervisor-3.0-py2.7.egg/supervisor/options.py",
line 1559, in realize
Options.realize(self, *arg, **kw)
File
"/usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/supervisor-3.0-py2.7.egg/supervisor/options.py",
line 309, in realize
self.process_config()
File
"/usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/supervisor-3.0-py2.7.egg/supervisor/options.py",
line 317, in process_config
self.process_config_file(do_usage)
File
"/usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/supervisor-3.0-py2.7.egg/supervisor/options.py",
line 352, in process_config_file
self.usage(str(msg))
File
"/usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/supervisor-3.0-py2.7.egg/supervisor/options.py",
line 140, in usage
self.exit(2)
SystemExit: 2
[20/Apr/2014 03:41:41 +0000] 2974 MainThread tmpfs INFO
Successfully mounted tmpfs at /run/cloudera-scm-agent/process
[20/Apr/2014 03:41:42 +0000] 2974 MainThread agent INFO Trying
to connect to newly launched supervisor (Attempt 1)
[20/Apr/2014 03:41:42 +0000] 2974 MainThread agent INFO
Successfully connected to supervisor
[20/Apr/2014 03:41:42 +0000] 2974 MainThread _cplogging INFO
[20/Apr/2014:03:41:42] ENGINE Bus STARTING
[20/Apr/2014 03:41:42 +0000] 2974 MainThread _cplogging INFO
[20/Apr/2014:03:41:42] ENGINE Started monitor thread '_TimeoutMonitor'.
[20/Apr/2014 03:41:43 +0000] 2974 MainThread _cplogging INFO
[20/Apr/2014:03:41:43] ENGINE Serving on localhost:9000
[20/Apr/2014 03:41:43 +0000] 2974 MainThread _cplogging INFO
[20/Apr/2014:03:41:43] ENGINE Bus STARTED
[20/Apr/2014 03:41:43 +0000] 2974 MainThread __init__ INFO New
2 +0000] 4445 MainThread agent INFO Re-using pre-existing directory:
/run/cloudera-scm-agent/process
[20/Apr/2014 03:46:52 +0000] 4445 MainThread agent INFO Re-using
[20/Apr/2014 03:46:52 +0000] 4445 MainThread agent INFO Re-using
[20/Apr/2014 03:46:52 +0000] 4445 MainThread agent ERROR Failed
Traceback (most recent call last):
File "/usr/lib/cmf/agent/src/cmf/agent.py", line 1231, in
File "/usr/lib/cmf/agent/src/cmf/agent.py", line 1231, in
self.get_supervisor_process_info()
File "/usr/lib/cmf/agent/src/cmf/agent.py", line 1418, in
File "/usr/lib/cmf/agent/src/cmf/agent.py", line 1418, in
self.identifier = self.supervisor_client.supervisor.getIdentification()
File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
verbose=self.__verbose
File
File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
verbose=self.__verbose
File
line 460, in request
self.connection.request('POST', handler, request_body, self.headers)
File "/usr/lib/python2.7/httplib.py", line 958, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python2.7/httplib.py", line 992, in _send_request
self.endheaders(body)
File "/usr/lib/python2.7/httplib.py", line 954, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 814, in _send_output
self.send(msg)
File "/usr/lib/python2.7/httplib.py", line 776, in send
self.connect()
File "/usr/lib/python2.7/httplib.py", line 757, in connect
self.timeout, self.source_address)
File "/usr/lib/python2.7/socket.py", line 571, in create_connection
raise err
error: [Errno 111] Connection refused
[20/Apr/2014 03:46:52 +0000] 4445 MainThread tmpfs INFO Reusing mounted
File "/usr/lib/python2.7/httplib.py", line 958, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python2.7/httplib.py", line 992, in _send_request
self.endheaders(body)
File "/usr/lib/python2.7/httplib.py", line 954, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 814, in _send_output
self.send(msg)
File "/usr/lib/python2.7/httplib.py", line 776, in send
self.connect()
File "/usr/lib/python2.7/httplib.py", line 757, in connect
self.timeout, self.source_address)
File "/usr/lib/python2.7/socket.py", line 571, in create_connection
raise err
error: [Errno 111] Connection refused
[20/Apr/2014 03:46:52 +0000] 4445 MainThread tmpfs INFO Reusing mounted
[20/Apr/2014 03:46:53 +0000] 4445 MainThread agent INFO Trying to connect
[20/Apr/2014 03:46:53 +0000] 4445 MainThread agent INFO Successfully
[20/Apr/2014 03:46:53 +0000] 4445 MainThread _cplogging INFO
To unsubscribe from this group and stop receiving emails from it, send an email to scm-users+unsubscribe@cloudera.org.