Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Installing Cloudera Manager Configured in a Single-user Mode with Tarballs


Installing Cloudera Manager Configured in a Single-user Mode with Tarballs

New Contributor

Thanks for the document to configure cm in single user mode. i was always setup single user mode in my test servers however i endup same exception all the servers.


if you look at this exception, cloudera agent api always set server_port to None. other than port it reading all the values from config.ini.

I used to edit the cm-5.12.2/lib64/cmf/agent/build/env/lib/python2.6/site-packages/cmf-5.12.2-py2.6.egg/cmf/  python script and update below line to fix the exception


def _send_heartbeat(self, heartbeat):
if self.args.standalone:
# Write heartbeats to a file
if not self.heartbeat_output:
self.heartbeat_output = avro.datafile.DataFileWriter(
open(os.path.join(self.dir, "heartbeats.avro"), "w"),,
# Read expected processes
datum_reader =
dfr = avro.datafile.DataFileReader(open(self.args.standalone), datum_reader)
response =
if self.requestor is None:
if self.use_tls:



[10/Jan/2018 14:59:33 +0000] 25915 MainThread _cplogging INFO [10/Jan/2018:14:59:33] ENGINE Bus STARTED
[10/Jan/2018 14:59:33 +0000] 25915 MainThread __init__ INFO New monitor: (< object at 0x3a5bf90>,)
[10/Jan/2018 14:59:33 +0000] 25915 MainThread agent INFO Setting default socket timeout to 45
[10/Jan/2018 14:59:33 +0000] 25915 MonitorDaemon-Scheduler __init__ INFO Monitor ready to report: ('HostMonitor',)
[10/Jan/2018 14:59:33 +0000] 25915 MainThread agent ERROR Heartbeating to failed.
Traceback (most recent call last):
File "/opt/cloudera-manager/cm-5.12.2/lib64/cmf/agent/build/env/lib/python2.6/site-packages/cmf-5.12.2-py2.6.egg/cmf/", line 1412, in _send_heartbeat
File "/opt/cloudera-manager/cm-5.12.2/lib64/cmf/agent/build/env/lib/python2.6/site-packages/avro-1.6.3-py2.6.egg/avro/", line 469, in __init__
File "/usr/lib64/python2.6/", line 771, in connect