Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Install HDP 2.5 using Ambari 2.4 on AWS Fails

avatar
Rising Star

Hi,

Except for the instance that has Ambari Server and Agent running I can't install HDP 2.5 using Ambari 2.5. I've installed the agents manually successfully. I'm not sure I ave the /etc/hosts file right. I'm using <private IP> <pribate DNS> and the <private DNS> in the Ambari GUI. But they fail to install all except the instance that has Ambari Server runnning.

I'm using Centos 7. Any ideas?

1 ACCEPTED SOLUTION

avatar
Rising Star

Ok sorted

yum remove ambari-agent on the servers where I did a manual install and rerun using Ambari

View solution in original post

13 REPLIES 13

avatar
Rising Star

I notice it launches 2 /usr/bin/python /usr/lib/python2.6/site-packages/ambari_agent/main.py scripts ??

[root@ec2-xxxxx ec2-user]# ps aux | grep ambari

root 16253 0.0 0.1 385276 17736 ? Sl 04:19 0:00 /usr/bin/python /usr/lib/python2.6/site-packages/ambari_agent/main.py start --expected-hostname=ec2-xxxxx.ap-southeast-2.compute.amazonaws.com

root 16344 0.0 0.0 112648 960 pts/3 S+ 04:39 0:00 grep --color=auto ambari

[root@ec2-xxxx ec2-user]# ps aux | grep ambari

root 16253 0.0 0.1 385276 17736 ? Sl 04:19 0:00 /usr/bin/python /usr/lib/python2.6/site-packages/ambari_agent/main.py start --expected-hostname=ec2-xxxx.ap-southeast-2.compute.amazonaws.com

root 16346 0.0 0.0 112648 956 pts/3 S+ 04:39 0:00 grep --color=auto ambari

avatar
Contributor

@David Sheard I am facing the same issue, please let me know in case you were able to resolve it.

avatar
Rising Star

Ok sorted

yum remove ambari-agent on the servers where I did a manual install and rerun using Ambari

avatar
Master Mentor

@David Sheard @Saisubramaniam Gopalakrishnan

Public IPv4 addresses enable communication over the Internet, while private IPv4 addresses enable communication within the network of the instance (either EC2-Classic or a VPC)

Can you try using the private IP's in the /etc/hosts on all the hosts and retry.

1x2.31.83.454                   ip-1xx-x1-2x-1xx.ap.southeast-2.compute.internal       
1x2.91.27.784                   ip-2xx-x1-2x-1xx.ap.southeast-2.compute.internal 

Please let me know