hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benyi Wang <bewang.t...@gmail.com>
Subject Questions about hadoop-metrics2.properties
Date Wed, 23 Oct 2013 23:21:29 GMT
1. Does hadoop metrics2 only support File and Ganglia sink?
2. Can I expose metrics as JMX, especially for customized metrics? I
created some  metrics in my mapreduce job and could successfully output
them using a FileSink. But if I use jconsole to access YARN nodemanager, I
can only see hadoop metrics e.g Hadoop/NodeManager/NodeManagerMetrices
etc.,  not mine with prefix maptask. How to setup to see maptask/reducetask
prefix metrics?
3. Is there an example using jmx? I could not find

The configuration syntax is:

  [prefix].[source|sink|jmx|].[instance].[option]

http://hadoop.apache.org/docs/current/api/org/apache/hadoop/metrics2/package-summary.html

Mime
View raw message