2008-10-29 17:06:29 -04:00
|
|
|
# See http://wiki.apache.org/hadoop/GangliaMetrics
|
2009-06-26 15:49:08 -04:00
|
|
|
# Make sure you know whether you are using ganglia 3.0 or 3.1.
|
|
|
|
# If 3.1, you will have to patch your hadoop instance with HADOOP-4675
|
2008-10-29 17:06:29 -04:00
|
|
|
# And, yes, this file is named hadoop-metrics.properties rather than
|
|
|
|
# hbase-metrics.properties because we're leveraging the hadoop metrics
|
|
|
|
# package and hadoop-metrics.properties is an hardcoded-name, at least
|
|
|
|
# for the moment.
|
2009-06-26 15:49:08 -04:00
|
|
|
#
|
|
|
|
# See also http://hadoop.apache.org/hbase/docs/current/metrics.html
|
2008-10-29 17:06:29 -04:00
|
|
|
|
|
|
|
# Configuration of the "hbase" context for null
|
|
|
|
hbase.class=org.apache.hadoop.metrics.spi.NullContext
|
|
|
|
|
|
|
|
# Configuration of the "hbase" context for file
|
2008-11-24 15:47:58 -05:00
|
|
|
# hbase.class=org.apache.hadoop.hbase.metrics.file.TimeStampingFileContext
|
2008-10-29 17:06:29 -04:00
|
|
|
# hbase.period=10
|
|
|
|
# hbase.fileName=/tmp/metrics_hbase.log
|
|
|
|
|
|
|
|
# Configuration of the "hbase" context for ganglia
|
2009-06-26 15:49:08 -04:00
|
|
|
# Pick one: Ganglia 3.0 (former) or Ganglia 3.1 (latter)
|
2008-10-29 17:06:29 -04:00
|
|
|
# hbase.class=org.apache.hadoop.metrics.ganglia.GangliaContext
|
2009-06-26 15:49:08 -04:00
|
|
|
# hbase.class=org.apache.hadoop.metrics.ganglia.GangliaContext31
|
2008-10-29 17:06:29 -04:00
|
|
|
# hbase.period=10
|
|
|
|
# hbase.servers=GMETADHOST_IP:8649
|
|
|
|
|
|
|
|
# Configuration of the "jvm" context for null
|
|
|
|
jvm.class=org.apache.hadoop.metrics.spi.NullContext
|
|
|
|
|
|
|
|
# Configuration of the "jvm" context for file
|
2008-11-24 15:47:58 -05:00
|
|
|
# jvm.class=org.apache.hadoop.hbase.metrics.file.TimeStampingFileContext
|
2008-10-29 17:06:29 -04:00
|
|
|
# jvm.period=10
|
|
|
|
# jvm.fileName=/tmp/metrics_jvm.log
|
|
|
|
|
|
|
|
# Configuration of the "jvm" context for ganglia
|
2009-06-26 15:49:08 -04:00
|
|
|
# Pick one: Ganglia 3.0 (former) or Ganglia 3.1 (latter)
|
2008-10-29 17:06:29 -04:00
|
|
|
# jvm.class=org.apache.hadoop.metrics.ganglia.GangliaContext
|
2009-06-26 15:49:08 -04:00
|
|
|
# jvm.class=org.apache.hadoop.metrics.ganglia.GangliaContext31
|
2008-10-29 17:06:29 -04:00
|
|
|
# jvm.period=10
|
|
|
|
# jvm.servers=GMETADHOST_IP:8649
|
|
|
|
|
|
|
|
# Configuration of the "rpc" context for null
|
2008-11-24 15:47:58 -05:00
|
|
|
rpc.class=org.apache.hadoop.metrics.spi.NullContext
|
2008-10-29 17:06:29 -04:00
|
|
|
|
|
|
|
# Configuration of the "rpc" context for file
|
2008-11-24 15:47:58 -05:00
|
|
|
# rpc.class=org.apache.hadoop.hbase.metrics.file.TimeStampingFileContext
|
2008-10-29 17:06:29 -04:00
|
|
|
# rpc.period=10
|
|
|
|
# rpc.fileName=/tmp/metrics_rpc.log
|
|
|
|
|
|
|
|
# Configuration of the "rpc" context for ganglia
|
2009-06-26 15:49:08 -04:00
|
|
|
# Pick one: Ganglia 3.0 (former) or Ganglia 3.1 (latter)
|
2008-10-29 17:06:29 -04:00
|
|
|
# rpc.class=org.apache.hadoop.metrics.ganglia.GangliaContext
|
2009-06-26 15:49:08 -04:00
|
|
|
# rpc.class=org.apache.hadoop.metrics.ganglia.GangliaContext31
|
2008-10-29 17:06:29 -04:00
|
|
|
# rpc.period=10
|
|
|
|
# rpc.servers=GMETADHOST_IP:8649
|