There are three ways to install the Cloudera Manager(server, agents), CDH and services.
- Automated installation by Cloudera Manager
- Install using Cloudera Manager parcels/packages
- Manual installation using Cloudera Manager Tarballs
Automated installation by Cloudera Manager:
This is the most preferred way to install Cloudera Manager in non-production/test environments. This is not recommended for production deployments.
Cloudera provides a small self-executing Cloudera Manager installation program (binary file) to install the Server and other packages. The Cloudera Manager installer, which you install on the host where you want the Cloudera Manager Server to run, performs the following:
- Installs the package repositories for Cloudera Manager and the Oracle Java Development Kit (JDK).
- Installs the Cloudera Manager packages.
- Installs and configures an embedded PostgreSQL database for use by the Cloudera Manager Server, some Cloudera Management Service roles, some managed services, and Cloudera Navigator roles.
Once the installation is complete, you can install CDH, agents, services using the CM wizard.
Before you begin, ensure that you’ve disabled SELinux and performed OS level configuration for Hadoop installation.
Login to the server in which you want to install Cloudera Manager.
Note: This server should have a minimum memory of 7.5GB.
Download the Cloudera installer binary file from cloudera url.
$ wget https://archive.cloudera.com/cm5/installer/latest/cloudera-manager-installer.bin
Change cloudera-manager-installer.bin to have executable permission:
$ chmod u+x cloudera-manager-installer.bin
Run the Cloudera Manager Server installer by doing one of the following:
- Install Cloudera Manager packages from the Internet:
$ sudo ./cloudera-manager-installer.bin
- Install Cloudera Manager packages from the local repository you configured:
$ sudo ./cloudera-manager-installer.bin --skip_repo_package=1
Rest of the steps are pretty straightforward. You have to select next, accept the license, finish.
After the installation is complete, you will get a popup notifying your Cloudera Manager URL and login credentials.
In this method, we have installed only the Cloudera Manager Server in the server. We have to login to the CM UI and proceed to install CDH in the hosts to be added to the cluster.
CCP Administrator Exam (CCA131) is a hands-on, practical exam using Cloudera technologies. Each user is given their own CDH5 (currently 5.10.1) cluster running on CentOS 7.3.
As mentioned by Cloudera, in the exam you’ll be given a prebuilt cluster. So you needn’t to install/build a cluster. But for your preparation, it’s best to build a cluster on your own and practice the tasks.
It’s unlikely that a problem will given on this topic.
Issues and Troubleshooting:
After the installation completes, please wait for few minutes to access the CM ui. When you access the ui, master:7180, the page will come like below.
If the page is not loading even after 5/10 mins of CM server installation, then you have to identify the problem and resolve it.
The best way to identify the issue is checking the CM server status and the logs in the server. # sudo service cloudera-scm-server status # sudo less /var/log/cloudera-scm-server/cloudera-scm-server.log
Thus we covered how to install Cloudera Manager Server.
Use the comments section below to post your doubts, questions and feedback.
Please follow my blog to get notified of more certification related posts, exam tips, etc.