Let us setup pre-requisites like JDK and MySQL database so that we can configure cloudera manager and other CDH components using external database.
- Install Java SDK that come with Cloudera –
sudo yum install oracle-j2sdk1.7 -y
- Install mysql (mariadb)
https://gist.github.com/dgadiraju/c35eb63a77438b5bacacdd43ca14ba74
- Setup mysql connector –
sudo yum -y install mysql-connector-java
- We need to install mysql-connector-java on other nodes where services will be running and have to connect to databases created. We will take care of it while setting up services like Hive, Oozie etc.