Why The Below Error is coming in All Agent
Hi All,
My services are not starting and it failed after sometimes.
CDH : 6.2.0
Error:
AttributeError: 'NoneType' object has no attribute 'get'
[16/Jul/2019 10:31:20 +0000] 6528 MainThread agent ERROR Caught unexpected exception in main loop.
Traceback (most recent call last):
File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/cmf/agent.py", line 752, in __issue_heartbeat
heartbeat = self.prepare_heartbeat()
File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/cmf/agent.py", line 1295, in prepare_heartbeat
process.update_supervisor_data(supervisor_data.get(process.name, None))
File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/cmf/process.py", line 1282, in update_supervisor_data
self.deactivate_complete()
File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/cmf/process.py", line 974, in deactivate_complete
LOG.info("[%s] Unregistered supervisor process %s", self, self.fixed_supervisor_state())
File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/cmf/process.py", line 1333, in fixed_supervisor_state
state_name = self.process_info.get("statename", "STOPPED")
AttributeError: 'NoneType' object has no attribute 'get'

