FAQ
Hi All,

I see the following problem when installing CDH standard edition through CM
4.6.2 on Ubuntu 12.04.2 LTS VM.

The error info is
"Failed to receive heartbeat from agent."
and cloudera-scm-agent's log prompts me to run
"/usr/lib/cmf/agent/src/cmf/agent.py -h" and then I get the output of the
py run as:

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

Would be grateful if you can please give me some pointer as to what I am
missing here.

Thanks,
Priyanka

Search Discussions

  • Philip Zeyliger at Jul 29, 2013 at 3:59 pm
    Hi Priyanka,

    Could you include your /var/log/cloudera-scm-agent/*?

    I suspect that it's failing to find your hostname or IP address, and hence
    exiting out. I think the agent.py -h error is a red herring having to do
    with virtualenv stuff.

    Cheers,

    -- Philip


    On Sat, Jul 27, 2013 at 4:18 AM, Priyanka Gupta
    wrote:
    Hi All,

    I see the following problem when installing CDH standard edition through
    CM 4.6.2 on Ubuntu 12.04.2 LTS VM.

    The error info is
    "Failed to receive heartbeat from agent."
    and cloudera-scm-agent's log prompts me to run "/usr/lib/cmf/agent/src/cmf/
    **agent.py -h" and then I get the output of the py run as:

    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

    Would be grateful if you can please give me some pointer as to what I am
    missing here.

    Thanks,
    Priyanka
  • Priyanka Gupta at Aug 3, 2013 at 12:20 pm
    Thanks, Philip! I made some changes in my hosts file and could get
    installed at last. Thanks for your reply.

    Regards,
    Priyanka
    On Saturday, July 27, 2013 4:48:10 PM UTC+5:30, Priyanka Gupta wrote:

    Hi All,

    I see the following problem when installing CDH standard edition through
    CM 4.6.2 on Ubuntu 12.04.2 LTS VM.

    The error info is
    "Failed to receive heartbeat from agent."
    and cloudera-scm-agent's log prompts me to run
    "/usr/lib/cmf/agent/src/cmf/agent.py -h" and then I get the output of the
    py run as:

    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

    Would be grateful if you can please give me some pointer as to what I am
    missing here.

    Thanks,
    Priyanka

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupscm-users @
categorieshadoop
postedJul 27, '13 at 11:18a
activeAug 3, '13 at 12:20p
posts3
users2
websitecloudera.com
irc#hadoop

2 users in discussion

Priyanka Gupta: 2 posts Philip Zeyliger: 1 post

People

Translate

site design / logo © 2022 Grokbase