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.

Who agreed with this topic

Agent failed to connect server with heatbeat error CM5.0.2

Explorer

Getting error while starting the agent.Unable to connect server.

 

 File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/avro-1.6.3-py2.6.egg/avro/ipc.py", line 412, in read_framed_message
    raise ConnectionClosedException("Reader read 0 bytes.")
ConnectionClosedException: Reader read 0 bytes.
[28/Jul/2014 16:21:37 +0000] 31749 MainThread agent        INFO     Loading last saved hb response to complete initialization: /var/lib/cloudera-scm-agent/response.avro
[28/Jul/2014 16:21:37 +0000] 31749 MainThread agent        INFO     Using parcels directory from server provided value: /opt/cloudera/parcels
[28/Jul/2014 16:21:37 +0000] 31749 MainThread parcel       INFO     Agent does create users/groups and apply file permissions
[28/Jul/2014 16:21:37 +0000] 31749 MainThread downloader   INFO     Downloader path: /opt/cloudera/parcel-cache
[28/Jul/2014 16:21:37 +0000] 31749 MainThread parcel_cache INFO     Using /opt/cloudera/parcel-cache for parcel cache
[28/Jul/2014 16:21:37 +0000] 31749 MainThread agent        INFO     Active parcel list updated; recalculating component info.
[28/Jul/2014 16:21:38 +0000] 31749 MainThread agent        ERROR    Heartbeating to longmdcfu458.uk.db.com:7180 failed.
Traceback (most recent call last):
  File "/usr/lib64/cmf/agent/src/cmf/agent.py", line 766, in send_heartbeat
    response = self.requestor.request('heartbeat', dict(request=heartbeat))
  File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/avro-1.6.3-py2.6.egg/avro/ipc.py", line 139, in request
    return self.issue_request(call_request, message_name, request_datum)
  File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/avro-1.6.3-py2.6.egg/avro/ipc.py", line 249, in issue_request
    call_response = self.transceiver.transceive(call_request)
  File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/avro-1.6.3-py2.6.egg/avro/ipc.py", line 478, in transceive
    result = self.read_framed_message()
  File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/avro-1.6.3-py2.6.egg/avro/ipc.py", line 484, in read_framed_message
    framed_message = response_reader.read_framed_message()
  File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/avro-1.6.3-py2.6.egg/avro/ipc.py", line 412, in read_framed_message
    raise ConnectionClosedException("Reader read 0 bytes.")
ConnectionClosedException: Reader read 0 bytes.
[28/Jul/2014 16:21:42 +0000] 31749 Monitor-HostMonitor throttling_logger INFO     Using java location: '/usr/java/jdk1.7.0_45-cloudera/bin/java'.
[28/Jul/2014 16:21:53 +0000] 31749 MainThread agent        ERROR    Heartbeating to longmdcfu458.uk.db.com:7180 failed.
Traceback (most recent call last):
  File "/usr/lib64/cmf/agent/src/cmf/agent.py", line 766, in send_heartbeat
    response = self.requestor.request('heartbeat', dict(request=heartbeat))
  File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/avro-1.6.3-py2.6.egg/avro/ipc.py", line 139, in request
    return self.issue_request(call_request, message_name, request_datum)
  File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/avro-1.6.3-py2.6.egg/avro/ipc.py", line 249, in issue_request
    call_response = self.transceiver.transceive(call_request)
  File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/avro-1.6.3-py2.6.egg/avro/ipc.py", line 478, in transceive
    result = self.read_framed_message()
  File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/avro-1.6.3-py2.6.egg/avro/ipc.py", line 484, in read_framed_message
    framed_message = response_reader.read_framed_message()
  File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/avro-1.6.3-py2.6.egg/avro/ipc.py", line 412, in read_framed_message
    raise ConnectionClosedException("Reader read 0 bytes.")
ConnectionClosedException: Reader read 0 bytes.
                                                                                                               

Who agreed with this topic