Home Forums HDP on Linux – Installation Problem during Registration

This topic contains 5 replies, has 2 voices, and was last updated by  nietzsche 1 year, 6 months ago.

  • Creator
    Topic
  • #26661

    nietzsche
    Member

    I am trying to install Hadoop on 4 nodes using Ambari.

    After I install ambari, it fails at the registartion process for all 4 nodes.

    I am following the docs over http://docs.hortonworks.com/HDPDocuments/HDP1/HDP-1.3.0/bk_using_Ambari_book/content/ambari-chap1-1.html and have passwordless ssh and other steps done.


    STDOUT

    STDERR
    STDOUT
    Cluster primary OS type is redhat6 and local OS type is centos6

    STDERR
    Connection to 166.78.48.219 closed.
    STDOUT
    sudo-1.7.4p5-13.el6_3.x86_64

    STDERR
    Connection to 166.78.48.219 closed.
    STDOUT

    STDERR
    STDOUT

    STDERR
    Connection to 166.78.48.219 closed.
    STDOUT

    STDERR
    Registering with the server...
    Registration with the server failed.

    The ambar-server.log says this:


    19:41:55,857 INFO HeartBeatHandler:108 - Received heartbeat from host, hostname=suda-hadoop2, currentResponseId=1, receivedResponseId=1
    19:41:55,859 INFO AgentResource:109 - Sending heartbeat response with response id 2

    The ambari-agent.log on one of the hosts says this:


    INFO 2013-05-29 19:41:34,629 Controller.py:87 - Registered with the server with {u'response': u'OK', u'responseId': 0, u'statusCommands': []}
    INFO 2013-05-29 19:41:34,629 Controller.py:92 - Got status commands on registration []
    INFO 2013-05-29 19:41:34,630 Controller.py:223 - Response from server = OK
    INFO 2013-05-29 19:41:44,642 Heartbeat.py:61 - Sending heartbeat with response id: 0 and timestamp: 1369856504641
    INFO 2013-05-29 19:41:45,725 Controller.py:176 - No commands sent from the Server.
    INFO 2013-05-29 19:41:55,739 Heartbeat.py:61 - Sending heartbeat with response id: 1 and timestamp: 1369856515737
    INFO 2013-05-29 19:41:55,992 Controller.py:176 - No commands sent from the Server.

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

You must be logged in to reply to this topic.

  • Author
    Replies
  • #26799

    nietzsche
    Member

    My bad, I was using IPs instead of hostnames. Works now!

    Collapse
    #26669

    Sasha J
    Moderator

    First of all, what is the reason to “script” manual installation?
    We have fully automated installation by Ambari, manual is supposed to be performed in the big clusters, which put under Puppet (or similar) control after the initial installation…
    IN any case, we have 2 releases in the past few weeks:
    HDP 1.2.3 2 weeks ago, mostly bugs fixing
    HDP 1.3 released yesterday, new release with many new functionality added, along with the bug fixes.
    I recommend you to go to 1.3, especially your scripted installation does not work as expected.

    I do not think your problems are related to new versions, it is, most likely, due to name resolution problems.

    Thank you!
    Sasha

    Collapse
    #26665

    nietzsche
    Member

    I went through the installation three weeks ago manually, and scripted it out. It sure was working for me then. Has anything changed in terms of releases in the last few weeks?

    Collapse
    #26664

    nietzsche
    Member

    I verified the hostnames, and reset ambari. And it gets stuck at the same place still.

    Collapse
    #26663

    Sasha J
    Moderator

    Thank you for using HDP!

    please stop and remove agents. Do not forget to remove /var/lib/ambari-agent folders from all nodes
    stop ambari-server and execute:
    ambari-server reset

    Then start it back up and repeat installation procedure.
    Make sure you use fully qualified host names (the one which returns by “hostname -f”) and make sure your name resolution works correctly.

    Thank you!
    Sasha

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