From 8105f90937fad1d90aff5028b7fc86b73fd4829a Mon Sep 17 00:00:00 2001 From: larsh Date: Wed, 21 Mar 2012 20:16:27 +0000 Subject: [PATCH] HBASE-4940 hadoop-metrics.properties can include configuration of the rest context for ganglia (Mubarak Seyed) git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1303553 13f79535-47bb-0310-9956-ffa450edef68 --- conf/hadoop-metrics.properties | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/conf/hadoop-metrics.properties b/conf/hadoop-metrics.properties index 046a369524d..b348e8b663c 100644 --- a/conf/hadoop-metrics.properties +++ b/conf/hadoop-metrics.properties @@ -7,6 +7,8 @@ # for the moment. # # See also http://hadoop.apache.org/hbase/docs/current/metrics.html +# GMETADHOST_IP is the hostname (or) IP address of the server on which the ganglia +# meta daemon (gmetad) service is running # Configuration of the "hbase" context for null hbase.class=org.apache.hadoop.metrics.spi.NullContext @@ -56,3 +58,10 @@ rpc.class=org.apache.hadoop.metrics.spi.NullContext # rpc.class=org.apache.hadoop.metrics.ganglia.GangliaContext31 # rpc.period=10 # rpc.servers=GMETADHOST_IP:8649 + +# Configuration of the "rest" context for ganglia +# Pick one: Ganglia 3.0 (former) or Ganglia 3.1 (latter) +# rest.class=org.apache.hadoop.metrics.ganglia.GangliaContext +# rest.class=org.apache.hadoop.metrics.ganglia.GangliaContext31 +# rest.period=10 +# rest.servers=GMETADHOST_IP:8649