incubator-ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sumit Mohanty <>
Subject Re: Cluster install wizard fails with manually configured agents
Date Sun, 04 Aug 2013 04:53:08 GMT
Hi Christian,

The agents use socket.getfqdn() to get the value to use. There are some
scenarios where socket.getfqdn() can be different than hostname ­f. You can
perform a web search and find examples. See if modifying /etc/hosts will

Another option would be -
You can write a custom script that will modify the name used by the agents
to register.
The name of the property (at /etc/ambari-agent/conf/ambari-agent.ini) is


Essentially, the script can use the value returned by hostname -f assuming
all the agents have similar issue.

Once you modify the .ini file you can restart the agent for it to register
with the modified name.


From:  Christian Smith <>
Date:  Saturday, August 3, 2013 4:53 PM
To:  Sumit Mohanty <>
Cc:  "" <>
Subject:  Re: Cluster install wizard fails with manually configured agents

Hi Sumit,

It seems the hosts were registered with just there hostname, not FQDNs even
though hostname/hostname -f return the correct values on the agent nodes.
Do you know why this might be?


On Sat, Aug 3, 2013 at 4:11 PM, Sumit Mohanty <>
> What are the hosts you see if you go to http://server:8080/api/v1/hosts?
> Ensure that host names you are using are the same the hosts used to register.
> Sent from my Windows Phone
> From: Christian Smith <>
> Sent: 8/2/2013 7:21 PM
> To:
> Subject: Cluster install wizard fails with manually configured agents
> Hi,
> I've got the server installed and configured and have also setup several
> agents which have successfully connected and registered with the ambari-server
> according to the server logs.
> I'm now attempting to run through the UI wizard, I'm entering the hostnames,
> specifying manual agent install, and clicking 'Register and Confirm'.
> The next step, Confirming Hosts, then shows all hosts as 'Registering'.  After
> a while they all transition to Failed.  I've tried several times, restarted
> services etc...
> Am I missing a step?
> Thanks,
> Christian

View raw message