Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Unable to start Cloudera Agent

avatar
Rising Star

One of my Cloudera Agents stopped unexpectgedly and I can't restart the agent. When I attempt to start the agent I receive an error:

 

service cloudera-scm-agent start
Starting cloudera-scm-agent: * Couldn't start cloudera-scm-agent

 

In the /var/log/cloudera-scm-agent/cloudera-scm-agent.out log file I see the following error:

 

Traceback (most recent call last):
File "/usr/lib/cmf/agent/src/cmf/agent.py", line 6, in <module>
import avro.datafile
ImportError: No module named avro.datafile

I am running Ubuntu 14.04 with CDH 5.4.7 managed by CM.

 

Do you have any suggestions? 

1 ACCEPTED SOLUTION

avatar
Rising Star

I did not want to spend too much time on this so I uninstalled and reinstalled the agent. This worked perfectly. I am now up and running.

 

The commands I used:

 

sudo apt-get remove cloudera-manager-agent cloudera-manager-daemons

sudo apt-get install cloudera-manager-agent cloudera-manager-daemons

View solution in original post

1 REPLY 1

avatar
Rising Star

I did not want to spend too much time on this so I uninstalled and reinstalled the agent. This worked perfectly. I am now up and running.

 

The commands I used:

 

sudo apt-get remove cloudera-manager-agent cloudera-manager-daemons

sudo apt-get install cloudera-manager-agent cloudera-manager-daemons