Home Forums HDP on Linux – Installation Registration with the server failed

This topic contains 3 replies, has 4 voices, and was last updated by  Miguel Benitez 8 months, 1 week ago.

  • Creator
    Topic
  • #44275

    Maxwell Mao
    Member

    Hi,

    I came across a problem about adding new instance into the hadoop. I disabled iptables, and the host name is in form of ip-XX-XX-XX-XX.ec2.internal. Here is the message I got when installing and registering new instance. It seems no reason about this error. Can you find me out?

    STDOUT

    STDERR
    scp /usr/lib/python2.6/site-packages/ambari_server/os_type_check.sh done for host ip-10-194-107-80.ec2.internal, exitcode=0
    Copying os type check script finished
    Running os type check…
    STDOUT
    Cluster primary OS type is redhat6 and local OS type is redhat6

    STDERR
    Connection to ip-10-194-107-80.ec2.internal closed.
    SSH command execution finished for host ip-10-194-107-80.ec2.internal, exitcode=0
    Running os type check finished
    STDOUT
    sudo-1.8.6p3-7.el6.x86_64

    STDERR
    Connection to ip-10-194-107-80.ec2.internal closed.
    SSH command execution finished for host ip-10-194-107-80.ec2.internal, exitcode=0
    Checking ‘sudo’ package finished
    Copying repo file to ‘tmp’ folder…
    STDOUT

    STDERR
    scp /etc/yum.repos.d/ambari.repo done for host ip-10-194-107-80.ec2.internal, exitcode=0
    Moving file to repo dir…
    STDOUT

    STDERR
    Connection to ip-10-194-107-80.ec2.internal closed.
    SSH command execution finished for host ip-10-194-107-80.ec2.internal, exitcode=0
    Copying setup script file…
    STDOUT

    STDERR
    scp /usr/lib/python2.6/site-packages/ambari_server/setupAgent.py done for host ip-10-194-107-80.ec2.internal, exitcode=0
    Copying files finished
    Running setup agent…
    STDOUT
    Restarting ambari-agent
    Verifying Python version compatibility…
    Using python /usr/bin/python2.6
    Found ambari-agent PID: 21796
    Stopping ambari-agent
    Removing PID file at /var/run/ambari-agent/ambari-agent.pid
    ambari-agent successfully stopped
    Verifying Python version compatibility…
    Using python /usr/bin/python2.6
    Checking for previously running Ambari Agent…
    Starting ambari-agent
    Verifying ambari-agent process status…
    Ambari Agent successfully started
    Agent PID at: /var/run/ambari-agent/ambari-agent.pid
    Agent out at: /var/log/ambari-agent/ambari-agent.out
    Agent log at: /var/log/ambari-agent/ambari-agent.log
    (” ‘processorcount’: ’2′,
    ‘ps’: ‘ps -ef’,
    ‘rubysitedir’: ‘/usr/lib/ambari-agent/lib/ruby-1.8.7-p370/lib/ruby/site_ruby/1.8′,
    ‘rubyversion’: ’1.8.7′,
    ‘selinux’: ‘true’,
    ‘selinux_config_mode’: ‘enforcing’,
    ‘selinux_config_policy’: ‘targeted’,
    ‘selinux_current_mode’: ‘permissive’,
    ‘selinux_enforced’: ‘false’,
    ‘selinux_mode’: ‘targeted’,
    ‘selinux_policyversion’: ’24′,
    ‘swapfree’: ’0.00 kB’,
    ‘swapsize’: ’0.00 kB’,
    ‘timezone’: ‘EST’,
    ‘uniqueid’: ‘c20a506b’,
    ‘uptime’: ’1 day’,
    ‘uptime_days’: ’1′,
    ‘uptime_hours’: ’46′,
    ‘uptime_seconds’: ’167961′,
    ‘virtual’: ‘physical’}
    “, None)

    STDERR
    Connection to ip-10-194-107-80.ec2.internal closed.
    SSH command execution finished for host ip-10-194-107-80.ec2.internal, exitcode=0
    Setting up agent finished
    Registering with the server…
    Registration with the server failed.

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

You must be logged in to reply to this topic.

  • Author
    Replies
  • #46131

    I think a bug may have been submitted with Apache for something similar:

    https://issues.apache.org/jira/browse/AMBARI-4101

    Collapse
    #45529

    Jeff Ferrell
    Member

    I am having the same issue on the 2.0 stack install. Below is my error

    Cluster primary OS type is redhat6 and local OS type is centos5
    Local OS is not compatible with cluster primary OS. Please perform manual bootstrap on this host.

    Collapse
    #45065

    Dave
    Moderator

    Hi Maxwell,

    Have you configured the hostname of each datanode in the namenodes /etc/hosts file and added all of the other nodes in each of the datanodes /etc/hosts file?

    Thanks

    Dave

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