FAQ
Hello,

I've followed this installation procedure and when I reach the Inspect Role
Assignments stage I only see one managed host:
ip-000-000-000-000.ap-northeast-1.compute.internal. In spite of Cloudera
Manager setups EC2 server * 3 successfully.
https://ccp.cloudera.com/display/FREE41DOC/Automated+Installation+of+Cloudera+Manager+and+CDH


Two PNG files I attached are snapshots of installation process.

First PNG file means that Cloudera Manager installs two servers
successfully.
Second PNG file means that the result of host inspector show me only one
server.


Can anyone provide Cloudera Manager 4 Free Version help with instructions
on resolving hosts in EC2?


I seem to look like that these are same problems.

How to resolve hosts using Cloudera Manager 4.0 installed on EC2
http://stackoverflow.com/questions/13041152/how-to-resolve-hosts-using-cloudera-manager-4-0-installed-on-ec2

Cloudera Manager fails to add hosts
http://stackoverflow.com/questions/8579105/cloudera-manager-fails-to-add-hosts


My environment is here.

OS: EC2 Redhat Enterprise Linux 64bit Large Instanse * 3
Storage: EBS 500GBytes * 3
Global IP: Elastic IP * 3
DNS: I don't use my own DNS.

each server's /etc/hosts file:
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6

# In fact, these IP is Elastic IP and I don't have `mydomain`.
000.000.000.001 master.cloudera.mydomain master
000.000.000.002 slave1.cloudera.mydomain slave1
000.000.000.003 slave2.cloudera.mydomain slave2


each server's /etc/resolv.conf file:
search cloudera.mydomain ap-northeast-1.compute.internal
nameserver 172.16.0.23


When I edit these two files, I execute `service network restart`.


Any help is appreciated.
Thanks,

Shinohara

Search Discussions

  • Joey Echeverria at Dec 1, 2012 at 11:08 pm
    Did you configure the EC2 security group to allow access to the right ports?

    --
    Joey Echeverria
    Principal Solutions Architect
    Cloudera, Inc.

    On Saturday, December 1, 2012 at 16:44, Shinohara wrote:

    Hello,

    I've followed this installation procedure and when I reach the Inspect Role Assignments stage I only see one managed host: ip-000-000-000-000.ap-northeast-1.compute.internal. In spite of Cloudera Manager setups EC2 server * 3 successfully.
    https://ccp.cloudera.com/display/FREE41DOC/Automated+Installation+of+Cloudera+Manager+and+CDH


    Two PNG files I attached are snapshots of installation process.

    First PNG file means that Cloudera Manager installs two servers successfully.
    Second PNG file means that the result of host inspector show me only one server.


    Can anyone provide Cloudera Manager 4 Free Version help with instructions on resolving hosts in EC2?


    I seem to look like that these are same problems.

    How to resolve hosts using Cloudera Manager 4.0 installed on EC2
    http://stackoverflow.com/questions/13041152/how-to-resolve-hosts-using-cloudera-manager-4-0-installed-on-ec2

    Cloudera Manager fails to add hosts
    http://stackoverflow.com/questions/8579105/cloudera-manager-fails-to-add-hosts


    My environment is here.

    OS: EC2 Redhat Enterprise Linux 64bit Large Instanse * 3
    Storage: EBS 500GBytes * 3
    Global IP: Elastic IP * 3
    DNS: I don't use my own DNS.

    each server's /etc/hosts file:
    127.0.0.1 localhost.localdomain localhost
    ::1 localhost6.localdomain6 localhost6

    # In fact, these IP is Elastic IP and I don't have `mydomain`.
    000.000.000.001 master.cloudera.mydomain master
    000.000.000.002 slave1.cloudera.mydomain slave1
    000.000.000.003 slave2.cloudera.mydomain slave2


    each server's /etc/resolv.conf file:
    search cloudera.mydomain ap-northeast-1.compute.internal
    nameserver 172.16.0.23


    When I edit these two files, I execute `service network restart`.


    Any help is appreciated.
    Thanks,

    Shinohara
  • Shinohara at Dec 2, 2012 at 12:16 am
    Did you configure the EC2 security group to allow access to the right
    ports?

    I attach the PNG image of EC2 security group.
    I allow 22, 7180 and ICMP Echo Request.
    22 is used for ssh.
    7180 is used to connect cloudera manager from pc browser.
    ICMP Echo Request is used to detect cloudera manager server in installation
    proccess.

    Should I open all ports?
    These servers are test servers, so I can open all ports.


    I configued SELinux and iptables like this.

    vi /etc/selinux/config
    add `SELINUX=disabled`
    restart server

    service iptables stop
  • Philip Langdale at Dec 2, 2012 at 3:42 pm
    The cluster nodes need to be able to reach port 7182 on the CM server to
    heartbeat.
    So if that's blocked you will only see localhost in the list.

    --phil
    On Saturday, December 1, 2012, Shinohara wrote:

    Did you configure the EC2 security group to allow access to the right
    ports?

    I attach the PNG image of EC2 security group.
    I allow 22, 7180 and ICMP Echo Request.
    22 is used for ssh.
    7180 is used to connect cloudera manager from pc browser.
    ICMP Echo Request is used to detect cloudera manager server in
    installation proccess.

    Should I open all ports?
    These servers are test servers, so I can open all ports.


    I configued SELinux and iptables like this.

    vi /etc/selinux/config
    add `SELINUX=disabled`
    restart server

    service iptables stop

    --
    --phil
  • Shinohara at Dec 9, 2012 at 4:38 am
    phil

    Thanks a lot!!!

    When I opened all ports, cloudera manager could detect all cluster clients.
    /etc/hosts and /etc/resolv.conf are default settings.


    The problem that CM can't detect clients is resolved.
    But the new problem that when I restart ec2 instanses CM can't detelct
    clients is occured...(^^)
    I think the causes of this new problem is CM manages all clients by private
    IPs.

    I think this is another problem, so when I want to ask something I make
    another thread.

    Shinohara

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupscm-users @
categorieshadoop
postedDec 1, '12 at 9:44p
activeDec 9, '12 at 4:38a
posts5
users3
websitecloudera.com
irc#hadoop

People

Translate

site design / logo © 2022 Grokbase