0% found this document useful (0 votes)
53 views5 pages

Tutorial MonitorHadoopWithGanglia

The document discusses installing and configuring the Ganglia monitoring system on a Hadoop cluster. It describes installing various Ganglia RPM packages, configuring the gmond and gmetad daemons, modifying configuration files to set the cluster name and port, and enabling Ganglia monitoring of Hadoop metrics by copying and editing the hadoop-metrics configuration file. Once configured, the Ganglia monitoring web interface can be accessed at a given URL.

Uploaded by

pavan2711
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
53 views5 pages

Tutorial MonitorHadoopWithGanglia

The document discusses installing and configuring the Ganglia monitoring system on a Hadoop cluster. It describes installing various Ganglia RPM packages, configuring the gmond and gmetad daemons, modifying configuration files to set the cluster name and port, and enabling Ganglia monitoring of Hadoop metrics by copying and editing the hadoop-metrics configuration file. Once configured, the Ganglia monitoring web interface can be accessed at a given URL.

Uploaded by

pavan2711
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Monitoring With Ganglia 2012

ganglia

Hadoop

Page 1

Monitoring With Ganglia 2012


Use the rpm installation.
Installed the following rpm ivh.
rrdtool-1.2.27-3.el5.i386.rpm
php-gd-5.1.6-23.2.el5_3.i386.rpm
Version 3.1
libconfuse-2.5-4.el5.i386.rpm
libganglia-3_1_0-3.1.1-1.i386.rpm
ganglia-gmetad-3.1.1-1.i386.rpm
ganglia-gmond-3.1.1-1.i386.rpm
ganglia-web-3.1.1-1.noarch.rpm
Version 3.0
[
ganglia-3.0.7-1.el5.i386.rpm
ganglia-devel-3.0.7-1.el5.i386.rpm
ganglia-gmetad-3.0.7-1.el5.i386.rpm
ganglia-gmond-3.0.7-1.el5.i386.rpm
ganglia-web-3.0.7-1.el5.i386.rpm
]
Once you have the necessary binaries installed, you can test your installation by running
service gmond start

Hadoop

Page 2

Monitoring With Ganglia 2012


Modify /etc/ganglia/gmond.conf
Change cluster

name = "unspecified" to name = "hadoopCluster".


tcp_accept_channel {
port = 8650
}

service gmond start


service gmetad start
service httpd restart

This will start the ganglia monitoring daemon. You should then be able to run
% telnet localhost 8650

http://10.72.47.42/ganglia

Hadoop

Page 3

Monitoring With Ganglia 2012

Hadoop

Page 4

Monitoring With Ganglia 2012


Changes the properties file in hadoof/conf/hadoop-metrics.conf
Copy hadoof/conf/hadoop-metrics2.properties to hadoof/conf/hadoop-metrics.conf
Replace the server name with master IP and uncomment all Ganglia 3.1 properties.
/etc/ganglia/gmetad.conf
data_source "hadoopCluster" 10.72.47.42:8650
Restart the hadoop cluster.
http://10.72.47.42/ganglia

Hadoop

Page 5

You might also like