ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <>
Subject [jira] [Updated] (AMBARI-4523) Host registering failure from primary/agent os checking on centos6
Date Fri, 21 Mar 2014 18:15:44 GMT


Andrew Onischuk updated AMBARI-4523:

    Fix Version/s:     (was: 1.5.0)

> Host registering failure from primary/agent os checking on centos6
> ------------------------------------------------------------------
>                 Key: AMBARI-4523
>                 URL:
>             Project: Ambari
>          Issue Type: Bug
>          Components: agent
>    Affects Versions: 1.4.3
>         Environment: centos6 for all hosts
>            Reporter: Perry Tian
>              Labels: patch
>             Fix For: 1.5.1
>   Original Estimate: 5h
>  Remaining Estimate: 5h
> 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
> 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;
> Thanks.

This message was sent by Atlassian JIRA

View raw message