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.

Unable to start Cloudera Agent

Solved Go to solution

Unable to start Cloudera Agent

Expert Contributor

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

Accepted Solutions
Highlighted

Re: Unable to start Cloudera Agent

Expert Contributor

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

1 REPLY 1
Highlighted

Re: Unable to start Cloudera Agent

Expert Contributor

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

Don't have an account?
Coming from Hortonworks? Activate your account here