Environment
Cloudera 5.4.1
CentOS Release 6.6 x64
Error
[02/jul/2015 04:03:31 +0000] 18593 mainthread agent ERROR heartbeating to localhost:7182 failed.
Traceback (most recent):
File "/usr/lib64/cmf/agent/src/cmf/agent.py", line 975, in Send_heartbeat
Self.master_port)
File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/avro-1.6.3-py2.6.egg/avro/ipc.py", line 464, in __ init__
Self.conn.connect ()
File "/usr/lib64/python2.6/httplib.py", line 720, in Connect
Self.timeout)
File "/usr/lib64/python2.6/socket.py", line 567, in Create_connection
Raise Error, MSG
Error: [Errno 111] Connection refused
[02/jul/2015 04:04:31 +0000] 18593 mainthread agent ERROR heartbeating to localhost:7182 failed.
Traceback (most recent):
File "/usr/lib64/cmf/agent/src/cmf/agent.py", line 975, in Send_heartbeat
Self.master_port)
File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/avro-1.6.3-py2.6.egg/avro/ipc.py", line 464, in __ init__
Self.conn.connect ()
File "/usr/lib64/python2.6/httplib.py", line 720, in Connect
Self.timeout)
File "/usr/lib64/python2.6/socket.py", line 567, in Create_connection
Raise Error, MSG
Error: [Errno 111] Connection refused
Solve:
Modify the client/etc/cloudera-scm-agent/config.ini configuration file Service_host to Cloudera_server address or host name and turn on server port 7182
such as: server_host=172.16.1.249
This article is from the "Bug" blog, please be sure to keep this source http://worms.blog.51cto.com/969144/1670281
Client Cloudera-scm-agent Start Error