Database Reference
In-Depth Information
• The Ganglia PHP web application: The web application comes with Ganglia
installation and uses the RRD tool to render the stored time series data in
graphs from the central node, as shown in the following screenshot:
The Ganglia setup is not in the scope of the topic. There are many
posts available for the Ganglia setup. You can also refer to
http://
timstaley.co.uk/posts/ganglia-setup-explained/
.
Once Ganglia is correctly set up, we need to conigure HBase so that it exposes
metrics to Ganglia. For HBase coniguration, set the parameters in the
hadoop-
metrics.properties
ile, which resides in the
$HBASE_HOME/conf/
directory.
Here, select the context class name based on the selected Ganglia version, and this
selection also depends on the HBase compatibility with the speciic Ganglia version.
If the version of Ganglia installed is 3.1.x, the
hbase
class will be assigned
org.
apache.hadoop.metrics.ganglia.GangliaContext31
, and for an older version of
Ganglia, its value will be
org.apache.hadoop.metrics.ganglia.GangliaContext
.
The
hadoop-metrics.properties
ile conigured for Ganglia 3.1 or later looks
as follows:
hbase.class=org.apache.hadoop.metrics.ganglia.GangliaContext31
hbase.period=10
hbase.servers=GMETAD_HOST_IP:8649