Home Forums Ambari Confirm Hosts failed in ambari installation

This topic contains 2 replies, has 2 voices, and was last updated by  Andy Matthys-Pearce 1 month, 1 week ago.

  • Creator
    Topic
  • #51299

    Mitali Sodhi
    Participant

    Hi,

    I am setting up a four node cluster on CentOS 6.0 machines.
    I have reached the Step-3 of installation from Ambari UI, where confirm hosts have to be done.
    I am getting this error while “Registering” :
    “Registration with the server failed”

    The ambari-agent.log shows the following error:
    ERROR Controller.py:98 – Cannot register host with not supported os type, hostname=node2.hadoop.com, serverOsType=redhat6, agentOsType=centos linux6

    My /etc/redhat-release file has :
    CentOS Linux release 6.0 (Final)

    /etc/issue has :
    CentOS Linux release 6.0 (Final)
    Kernel \r on an \m

    How should I solve this issue?

    Thanks,
    Mitali

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

You must be logged in to reply to this topic.

  • Author
    Replies
  • #62506

    Andy Matthys-Pearce
    Participant

    I ran into the same issue with Confirm Hosts with error message “Registering” / “Registration with the server failed”, for HDP 2.1 installation.

    In my case, I had incorrectly changed the url_port to 4080 and secured_url_port to 8443 in ambari-agent.ini based on an older version of installation documentation (HDP 1.x) by mistake. Correcting url_port back to 8440 and secured_url_port to 8441 in ambari-agent.ini (correct default ports for HDP 2.x) fixed the problem.

    Correct default config in ambari-agent.ini:

    [server]
    hostname=<ambari server hostname>
    url_port=8440
    secured_url_port=8441

    Collapse
    #51301

    Mitali Sodhi
    Participant

    The issue got resolved by changing the /etc/redhat-release and /etc/issue to:
    CentOS release 6.0 (Final)

    and

    CentOS release 6.0 (Final)
    Kernel \r on an \m

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