Launch a Hadoop Cluster — HDP using Ambari

Neeraj Sabharwal
Feb 15 · 3 min read

Launch EC2

Steps to install ambari server

[root@ip-172–31–41–233 ~]# cd ~/.ssh/
[root@ip-172–31–41–233 .ssh]# ls
authorized_keys id_rsa id_rsa.pub
[root@ip-172–31–41–233 .ssh]# cat id_rsa

You would need the above entry for the following:

[root@ip-172–31–41–233 ~]# ambari-server setup — jdbc-db=mysql — jdbc-driver=/usr/share/java/mysql-connector-java.jar
Using python /usr/bin/python
Setup ambari-server
Copying /usr/share/java/mysql-connector-java.jar to /var/lib/ambari-server/resources/mysql-connector-java.jar
If you are updating existing jdbc driver jar for mysql with mysql-connector-java.jar. Please remove the old driver jar, from all hosts. Restarting services that need the driver, will automatically copy the new jar to the hosts.
JDBC driver was successfully initialized.
Ambari Server ‘setup’ completed successfully.
[root@ip-172–31–41–233 ~]#

Twitter @123nsab

Neeraj Sabharwal

Written by

Director of Sales Engineering @Privacera

More From Medium

Also tagged Learning

Also tagged Learning

You Can’t Uncut This Corner

Niklas Göke
Mar 28 · 2 min read

87

Top on Medium

Ed Yong
Mar 25 · 22 min read

12K

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade