Home Forums HDP on Linux – Installation Installation Failure (Ambari)

This topic contains 10 replies, has 6 voices, and was last updated by  Larry Liu 1 year, 7 months ago.

  • Creator
    Topic
  • #13814

    Hello,
    I would love to get some help, or for someone to throw me a bone on which direction I should take in order to solve my issue.
    I am trying to perform an installation via AMBARI and it fails on”Registration” process and the error message is quite vague… I am following the step-by-step instructions in the documentation, am I missing something?

    “net-snmp: UNAVAILABLE
    net-snmp-utils: UNAVAILABLE
    ntpd: UNAVAILABLE
    ruby: UNAVAILABLE
    puppet: UNAVAILABLE
    nagios: UNAVAILABLE
    ganglia: UNAVAILABLE
    passenger: UNAVAILABLE
    hadoop: UNAVAILABLE
    yum_repos: ok
    AMBARI-1.x Ambari 1.x 6
    HDP-UTILS-1.1.0.15 Hortonworks Data Platform Utils Version – HDP-UTILS-1. 52
    zypper_repos: UNAVAILABLE
    ‘, None)
    (‘INFO 2013-01-18 06:39:19,520 shell.py:50 – Killing stale processes
    INFO 2013-01-18 06:39:19,521 shell.py:58 – Killed stale processes
    INFO 2013-01-18 06:39:19,521 main.py:141 – Connecting to the server at: https://hit-servfail.opendns.com:8440
    INFO 2013-01-18 06:39:19,521 NetUtil.py:68 – DEBUG: Trying to connect to the server at https://hit-servfail.opendns.com:8440

    After the first DEBUG on the attempt to connect to hit-servfail there are about 6-7 more of the same type and then the process stops.

    STDERR
    Connection to xxx.xxx.xxx.xxx closed.
    Registering with the server…
    Registration with the server failed.

    Thanks,

Viewing 10 replies - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #14151

    Larry Liu
    Moderator

    Hi, Tzur

    Can you do the following command for missing package?

    for example:
    yum list hadoop

    You can also check the log files /var/log/yum.log to see if they are installed successfully.

    Larry

    Collapse
    #14134

    Yes Larry, I’m using a 64bit OS (CentOS)
    Linux hadoop 2.6.32-279.el6.x86_64 #1 SMP Fri Jun 22 12:19:21 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

    Collapse
    #14078

    Larry Liu
    Moderator

    Hi, Tzur

    I am wondering if you are using 64bits OS. Can you please check?

    Thanks

    Larry

    Collapse
    #14059

    Hi Jeff, thank you for your response.
    I was trying to search for the ini file, but it does not exist in the directory you have listed.

    Here are the contents of the directory /etc/ambari-server/conf :
    ambari.properties log4j.properties password.dat

    Am I missing the INI file because of a bad ambari installation, or a missing step?

    Collapse
    #14050

    Brent Evans
    Member

    Hi,
    I’m getting a similar response.
    I am Centos V6 and I’m trying to install
    a 7-node cluster.
    Here is the last part of 1 of the 7 logfiles
    that are similar


    openssl: ok openssl-1.0.0-20.el6.x86_64
    curl: ok curl-7.19.7-26.el6_1.2.x86_64
    wget: ok wget-1.12-1.4.el6.x86_64
    net-snmp: ok net-snmp-5.5-37.el6_2.1.x86_64
    net-snmp-utils: UNAVAILABLE
    ntpd: UNAVAILABLE
    ruby: ok ruby-1.8.7.352-4.el6_2.x86_64
    puppet: UNAVAILABLE
    nagios: UNAVAILABLE
    ganglia: UNAVAILABLE
    passenger: UNAVAILABLE
    hadoop: UNAVAILABLE
    yum_repos: ok
    AMBARI-1.x Ambari 1.x 6
    HDP-1.2.0 Hortonworks Data Platform Version – HDP-1.2.0 53
    HDP-UTILS-1.1.0.15 Hortonworks Data Platform Utils Version – HDP-UTILS-1. 52
    zypper_repos: UNAVAILABLE
    ‘, None)
    (“INFO 2013-01-21 21:25:40,318 Controller.py:150 – Got server response: {u’executionCommands’: [],
    u’registrationCommand’: None,
    u’responseId’: 5,
    u’restartAgent’: False,
    u’statusCommands’: []}
    INFO 2013-01-21 21:25:40,318 Controller.py:116 – No commands from the server : []
    INFO 2013-01-21 21:25:40,318 Controller.py:116 – No commands from the server : []
    INFO 2013-01-21 21:25:40,318 Controller.py:177 – No commands sent from the Server.
    INFO 2013-01-21 21:25:50,329 Heartbeat.py:59 – Heartbeat dump: {‘componentStatus’: [],
    ‘hostname’: ‘app017.atl1.turn.com’,
    ‘nodeStatus’: {’cause’: ‘NONE’, ‘status’: ‘HEALTHY’},
    ‘reports’: [],
    ‘responseId’: 5,
    ‘timestamp’: 1358832350329}
    INFO 2013-01-21 21:25:50,374 Controller.py:150 – Got server response: {u’executionCommands’: [],
    u’registrationCommand’: {u’commandType’: u’REGISTRATION_COMMAND’},
    u’responseId’: 0,
    u’restartAgent’: False,
    u’statusCommands’: []}
    INFO 2013-01-21 21:25:50,374 Controller.py:157 – RegistrationCommand received – repeat agent registration
    “, None)

    STDERR
    Connection to app017.atl1.turn.com closed.
    Registering with the server…
    Registration with the server failed.

    BTW, what exactly do you mean by “Can you reach the ambari server?”
    I can ping the server in the conf file (my local ambari server) but I can’t
    ssh back to that host.
    Thanks

    Collapse
    #13886

    Jeff Sposetti
    Moderator

    Not sure repos are the issue. Your ambari server was able to reach the target host in your cluster via ssh and install + start the agent. The problem looks like when the agent is trying to connect back to server to send the heartbeat and complete the registration. From your agent, where it’s trying to connect to the server:

    https://hit-servfail.opendns.com:8440

    If you login into the agent machine, check the hostname= entry in /etc/amabari-agent/conf/ambari-agent.ini and that is the hostname the agent is trying to use to connect back to the server. Can you reach the ambari server?

    Collapse
    #13873

    I have created a new VM and setup a single node installation.
    I’m getting the same error;
    selinux: ok SELINUX=disabled
    SELINUXTYPE=targeted
    yum: ok yum-3.2.29-30.el6.centos.noarch
    rpm: ok rpm-4.8.0-27.el6.x86_64
    openssl: ok openssl-1.0.0-20.el6_2.5.x86_64
    curl: ok curl-7.19.7-26.el6_2.4.x86_64
    wget: ok wget-1.12-1.4.el6.x86_64
    net-snmp: UNAVAILABLE
    net-snmp-utils: UNAVAILABLE
    ntpd: UNAVAILABLE
    ruby: UNAVAILABLE
    puppet: UNAVAILABLE
    nagios: UNAVAILABLE
    ganglia: UNAVAILABLE
    passenger: UNAVAILABLE
    hadoop: UNAVAILABLE
    yum_repos: ok
    AMBARI-1.x Ambari 1.x 6
    HDP-UTILS-1.1.0.15 Hortonworks Data Platform Utils Version – HDP-UTILS-1. 52
    zypper_repos: UNAVAILABLE
    ‘, None)

    My yum repolist:
    repo id repo name status
    AMBARI-1.x Ambari 1.x 6
    HDP-UTILS-1.1.0.15 Hortonworks Data Platform Utils Version – HDP-UTILS-1.1.0.15 52
    base CentOS-6 – Base 6,346
    epel Extra Packages for Enterprise Linux 6 – x86_64 8,312
    extras CentOS-6 – Extras 17
    updates CentOS-6 – Updates 1,075

    Collapse
    #13855

    Hello,

    Yeah I also think it’s related to the repositories.
    Ted, I am using several VMs in my cluster, os is CentOS6. I checked both log and out files but errors listed above were not registered there. pass-wordless ssh is enabled.
    I’ll Sasha’s advice first and remove the repos and re-add them.

    Collapse
    #13828

    tedr
    Member

    Hi Tzur,

    Thanks for trying Hortonworks Data Platform.

    Would you provide us with the following information:
    log files in /var/log/ambari-server and /var/log/ambari-agent?
    What is the OS that you are running on?
    How many nodes in your cluster?
    Have you enabled passwordless ssh from the ambari-server host to all nodes including itself?

    Then we’ll be able to get a better idea of what is happening on your system.

    Thanks,
    Ted.

    Collapse
    #13827

    Sasha J
    Moderator

    Tzur,
    You should check your repository settings.
    According to log you show, there is no zypper-repos configured:
    zypper_repos: UNAVAILABLE

    Thank you!
    Sasha

    Collapse
Viewing 10 replies - 1 through 10 (of 10 total)