Launch a Hadoop Cluster — HDP using Ambari

Neeraj Sabharwal
3 min readFeb 15, 2020

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
Neeraj Sabharwal

Written by Neeraj Sabharwal

Passionate about helping founders on their sales challenges. Technical background and now running sales.

No responses yet