Database Reference
In-Depth Information
Figure 8-9. Ambari Resource Manager user interface
That completes this short introduction to Ambari. Given that Ganglia and Nagios monitoring systems were
discusssed in Chapter 7, the Ambari displays should look familiar. That's because Ambari uses Nagios and Ganglia for
its cluster manager graphs and alerts. In summary, Ambari can help you to install your cluster and provide automatic
monitoring. It can also provide quick access to the web-based user interfaces of the Hadoop components.
Ambari is used for the Hortonworks Hadoop stack, but if you want to use the Cloudera stack, what does that
cluster manager look like? Well, Cloudera has developed its own cluster manager application, which I demonstrate
next. To avoid any conflict between installations, however, I need to reinstall CentOS Linux on all of my cluster2
servers so that they provide a clean base from which to install the next cluster version.
The Cloudera Cluster Manager
In this section I take a look at the Cloudera cluster manager for CDH5. As mentioned in this chapter's introduction,
both Ambari and the Cloudera cluster managers automate the installation and management of the Hadoop stack.
They also both provide a means for future software updates to be automated. So if you plan to install Hortonworks,
choose Ambari; if you want Cloudera's releases, choose the Cloudera cluster manager.
Installing Cloudera Cluster Manager
For this example, I use the same 64-bit cluster of machines with 2 GB of memory, but I increase the Name Node
machine's memory to 4 GB because the Cloudera cluster manager, especially the name node, needs more memory to
avoid swapping. As with the installation of Ambari, I reinstall Centos 6 onto the servers so that the machines are fresh
and free of conflict. Unless otherwise stated, the work is executed as the root user.
You can download the enterprise Cloudera manager binary installer from the Cloudera website at www.cloudera.
com/content/support/en/downloads/cloudera_manager.html . For this example, I store the installer in /tmp on the
Name Node machine hc2nn:
[root@hc2nn tmp]# pwd
/tmp
[root@hc2nn tmp]# ls -l cloudera-manager-installer.bin
-rw-r--r--. 1 root root 510569 Aug 30 19:11 cloudera-manager-installer.bin
 
Search WWH ::




Custom Search