FAQ
I get this error when i start the cloudera -scm-agent service :

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


Any pointers ? What might be missing. I do have avro installed with c
librabries.

Search Discussions

  • Harsh J at Mar 20, 2013 at 4:46 am
    Hi Abhinav,

    CM does not reuse the system installed avro modules but installs its
    own in its virtualenv. What version of CM is this occurring on and
    were any installed agent dirs messed with manually? Could you also
    post the output of "rpm -V cloudera-scm-agent" if this is a
    RH/CentOS/Fedora form of an OS?
    On Wed, Mar 20, 2013 at 5:26 AM, abhinav wagle wrote:
    I get this error when i start the cloudera -scm-agent service :

    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


    Any pointers ? What might be missing. I do have avro installed with c
    librabries.


    --
    Harsh J
  • Manu Zhang at May 13, 2013 at 9:54 pm
    I have the same problem when installing CDH through CM 4.5.2 free edition
    on Ubuntu 12.04.

    The error info is
    "Failed to receive heartbeat from agent."
    and cloudera-scm-agent's log prompt me to run
    "/usr/lib/cmf/agent/src/cmf/agent.py -h" and then
    the OP's error occurs
    On Wednesday, March 20, 2013 12:46:23 PM UTC+8, Harsh J wrote:

    Hi Abhinav,

    CM does not reuse the system installed avro modules but installs its
    own in its virtualenv. What version of CM is this occurring on and
    were any installed agent dirs messed with manually? Could you also
    post the output of "rpm -V cloudera-scm-agent" if this is a
    RH/CentOS/Fedora form of an OS?
    On Wed, Mar 20, 2013 at 5:26 AM, abhinav wagle wrote:
    I get this error when i start the cloudera -scm-agent service :

    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


    Any pointers ? What might be missing. I do have avro installed with c
    librabries.


    --
    Harsh J

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupscm-users @
categorieshadoop
postedMar 19, '13 at 11:56p
activeMay 13, '13 at 9:54p
posts3
users3
websitecloudera.com
irc#hadoop

People

Translate

site design / logo © 2022 Grokbase