FAQ
Hi,

I installed the CDH4 Manager on a 12-node cluster, it all went fine.
However, none of the services are started (the services page is empty).
During installation it showed the IP addresses of nodes correctly. But now
if I look at the 'Hosts' tab, only the node running the Manager has a
correct IP, all other nodes have 127.0.0.1. My first guess would be that it
could be the cause of the problem.

I tried adding all nodes to the /etc/hosts file of the Manager node and
restarting the service but that didn't change a thing.

Any ideas how to fix this?
The nodes are running on Ubuntu 10.04.

Thanks,
Krisztian

Search Discussions

  • Scuba Hunter at Aug 21, 2012 at 5:58 pm
    Make sure that the cloudera-scm-agent is running on all of your nodes. Also
    check the /etc/cloudera-scm-agent/config.ini file to make sure the
    server_host=<your cm host name here> is set correctly. If not. stop the
    agent
    sudo /etc/init.d/cloudera-scm-agent stop

    make the changes then start it again

    sudo /etc/init.d/cloudera-scm-agent start

    On Tuesday, August 21, 2012 12:49:18 PM UTC-5, Krisztian Balog wrote:

    Hi,

    I installed the CDH4 Manager on a 12-node cluster, it all went fine.
    However, none of the services are started (the services page is empty).
    During installation it showed the IP addresses of nodes correctly. But now
    if I look at the 'Hosts' tab, only the node running the Manager has a
    correct IP, all other nodes have 127.0.0.1. My first guess would be that it
    could be the cause of the problem.

    I tried adding all nodes to the /etc/hosts file of the Manager node and
    restarting the service but that didn't change a thing.

    Any ideas how to fix this?
    The nodes are running on Ubuntu 10.04.

    Thanks,
    Krisztian
  • Krisztian Balog at Aug 21, 2012 at 6:04 pm
    The server_host is OK and the agent is running.
    (I can see the hosts' status and the installed components, so I take the
    agent part is working fine)
    On Tuesday, August 21, 2012 7:58:40 PM UTC+2, Scuba Hunter wrote:

    Make sure that the cloudera-scm-agent is running on all of your nodes.
    Also check the /etc/cloudera-scm-agent/config.ini file to make sure the
    server_host=<your cm host name here> is set correctly. If not. stop the
    agent
    sudo /etc/init.d/cloudera-scm-agent stop

    make the changes then start it again

    sudo /etc/init.d/cloudera-scm-agent start

    On Tuesday, August 21, 2012 12:49:18 PM UTC-5, Krisztian Balog wrote:

    Hi,

    I installed the CDH4 Manager on a 12-node cluster, it all went fine.
    However, none of the services are started (the services page is empty).
    During installation it showed the IP addresses of nodes correctly. But
    now if I look at the 'Hosts' tab, only the node running the Manager has a
    correct IP, all other nodes have 127.0.0.1. My first guess would be that it
    could be the cause of the problem.

    I tried adding all nodes to the /etc/hosts file of the Manager node and
    restarting the service but that didn't change a thing.

    Any ideas how to fix this?
    The nodes are running on Ubuntu 10.04.

    Thanks,
    Krisztian
  • Harsh J at Aug 22, 2012 at 8:51 am
    This happens when all your nodes are carrying their network hostnames
    as an alias to the loopback address.

    Can you post up an /etc/hosts from one of your bad "agent" nodes?

    On Tue, Aug 21, 2012 at 11:34 PM, Krisztian Balog
    wrote:
    The server_host is OK and the agent is running.
    (I can see the hosts' status and the installed components, so I take the
    agent part is working fine)

    On Tuesday, August 21, 2012 7:58:40 PM UTC+2, Scuba Hunter wrote:

    Make sure that the cloudera-scm-agent is running on all of your nodes.
    Also check the /etc/cloudera-scm-agent/config.ini file to make sure the
    server_host=<your cm host name here> is set correctly. If not. stop the
    agent
    sudo /etc/init.d/cloudera-scm-agent stop

    make the changes then start it again

    sudo /etc/init.d/cloudera-scm-agent start

    On Tuesday, August 21, 2012 12:49:18 PM UTC-5, Krisztian Balog wrote:

    Hi,

    I installed the CDH4 Manager on a 12-node cluster, it all went fine.
    However, none of the services are started (the services page is empty).
    During installation it showed the IP addresses of nodes correctly. But
    now if I look at the 'Hosts' tab, only the node running the Manager has a
    correct IP, all other nodes have 127.0.0.1. My first guess would be that it
    could be the cause of the problem.

    I tried adding all nodes to the /etc/hosts file of the Manager node and
    restarting the service but that didn't change a thing.

    Any ideas how to fix this?
    The nodes are running on Ubuntu 10.04.

    Thanks,
    Krisztian


    --
    Harsh J
  • Krisztian Balog at Aug 22, 2012 at 10:28 am
    Thanks Harsh! That was indeed the problem.
    It works fine now!
    On Wednesday, August 22, 2012 10:51:14 AM UTC+2, Harsh J wrote:

    This happens when all your nodes are carrying their network hostnames
    as an alias to the loopback address.

    Can you post up an /etc/hosts from one of your bad "agent" nodes?

    On Tue, Aug 21, 2012 at 11:34 PM, Krisztian Balog
    <kriszti...@gmail.com <javascript:>> wrote:
    The server_host is OK and the agent is running.
    (I can see the hosts' status and the installed components, so I take the
    agent part is working fine)

    On Tuesday, August 21, 2012 7:58:40 PM UTC+2, Scuba Hunter wrote:

    Make sure that the cloudera-scm-agent is running on all of your nodes.
    Also check the /etc/cloudera-scm-agent/config.ini file to make sure the
    server_host=<your cm host name here> is set correctly. If not. stop the
    agent
    sudo /etc/init.d/cloudera-scm-agent stop

    make the changes then start it again

    sudo /etc/init.d/cloudera-scm-agent start

    On Tuesday, August 21, 2012 12:49:18 PM UTC-5, Krisztian Balog wrote:

    Hi,

    I installed the CDH4 Manager on a 12-node cluster, it all went fine.
    However, none of the services are started (the services page is
    empty).
    During installation it showed the IP addresses of nodes correctly. But
    now if I look at the 'Hosts' tab, only the node running the Manager
    has a
    correct IP, all other nodes have 127.0.0.1. My first guess would be
    that it
    could be the cause of the problem.

    I tried adding all nodes to the /etc/hosts file of the Manager node
    and
    restarting the service but that didn't change a thing.

    Any ideas how to fix this?
    The nodes are running on Ubuntu 10.04.

    Thanks,
    Krisztian


    --
    Harsh J

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupscm-users @
categorieshadoop
postedAug 21, '12 at 5:49p
activeAug 22, '12 at 10:28a
posts5
users3
websitecloudera.com
irc#hadoop

People

Translate

site design / logo © 2022 Grokbase