ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Perry Tian (JIRA)" <>
Subject [jira] [Created] (AMBARI-4523) Host registering failure from primary/agent os checking on centos6
Date Tue, 04 Feb 2014 16:42:15 GMT
Perry Tian created AMBARI-4523:

             Summary: Host registering failure from primary/agent os checking on centos6
                 Key: AMBARI-4523
             Project: Ambari
          Issue Type: Bug
          Components: agent
    Affects Versions: 1.4.3
         Environment: centos6 for all hosts
            Reporter: Perry Tian

I am using Ambari ( for hadoop cluster installation and management. All the cluster
nodes are built on centos 6.0.

During the ambari server installation, ambari-server recognized the primary/cluster os as
redhat6 (see 
During the ambari agent bootstrap/host register, ambari-agent regonized the agent os as centos
linux6 (see log). 

>From log files (ambari-server.log, ambari-agent.log), I found the inconsistence caused
the warning of ambari-agent bootstrapping and failure of host registering.

I'm still not sure why this happen, but I guess it's caused by the differene of os checking
methods among ambari server side code, ambari-agent bootstrap script (,based
on os release file) and registering script ( based on os hardware
profile) .

I just share to see if anyone can fix the issue.

BTW, for me, to solve the problem, I manually edited the script files to make it work temporarily:

To avoid warning of agent bootstrapping, in, add current_os=$RH6 above the
echo line or add res=0 after case statement;
To make the node register work, in, add data=data.replace('centos linux','redhat')
before sending registering request;


This message was sent by Atlassian JIRA

View raw message