Installing Cloudera Manager

Cloudera Manager is a great tool to install a Big Data platform. I worked with this tool and let me share some findings. I realise that we have only a limited range of platforms that can be used to install the Cloudera Manager upon. I started with Ubuntu 16.04. In a first attempt, I used a newer version of Ubuntu but this was not supported.Therefore, I started with Ubuntu 16.04.
During an attempt of installation, I was given a warning that ubuntu uses 127.0.1.1 as the host address. During that attempt, it was stated that 127.0.1.1 will lead to issues. In subsequent step, I encountered the promised issues. Therefore, in another attempt, I modified the /etc/hosts file:

127.0.0.1	ubuntu
127.0.0.1	localhost

I also like to work with a fixed network address. This can be attained by including in /etc/network/interfaces these lines:

auto ens33
iface ens33 inet static
address 192.168.2.25
netmask 255.255.255.0
gateway 192.168.2.254
dns-nameservers 192.168.2.254

In these lines, we see ens33 as the network interface. Previous versions of Ubuntu use eth0. The network interface can be known from the “ifconfig” statement.

During the installation, use is made of a ssh connection. This connection will be used with a sudo command. However, during installing I discovered that the sudo command must be given without a password. So we have a series of steps to take. SSH can be installed with:

sudo apt-get install openssh-server

We then set up the possibility to connect to ssh via root. This can be done in file /etc/ssh/sshd_config. There we have a clause on PermitRootLogin. This must be set to “yes”:

PermitRootLogin yes

To allow a sudo without providing a password, we have to adjust the /etc/sudoers file. There we have to provide the permission for the root usage via tom:

tom ALL =(ALL) NOPASSWD: ALL

We are then ready to go. The Cloudera Manager can be downloaded via:

wget http://archive.cloudera.com/cm5/installer/latest/cloudera-manager-installer.bin

adjust the privs via:

chmod u+x cloudera-manager-installer.bin

start installing via:

sudo ./cloudera-manager-installer.bin

I noted that the web browser didn’t run. I got it running via sudo firefox -Profilemanager. I also had the privs with ~/.mozilla/firefox/ to make them readable.

The installing was then straightforward. But above things have to settled.

Door tom