hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lei liu <liulei...@gmail.com>
Subject Re: metric type
Date Fri, 30 Aug 2013 08:10:50 GMT
Hi  Jitendra,
If I want to statistics number of bytes read per second,and display the
result into ganglia, should I use MutableCounterLong or MutableGaugeLong?

If I want to display current xceiver thread number in datanode into ganglia,
should I use MutableCounterLong or MutableGaugeLong?

Thanks,
LiuLei


2013/8/30 Jitendra Yadav <jeetuyadav200890@gmail.com>

> Hi,
>
> Below link contains the answer for your question.
>
>
> http://hadoop.apache.org/docs/r1.2.0/api/org/apache/hadoop/metrics2/package-summary.html
>
> Regards
> Jitendra
>
> On Fri, Aug 30, 2013 at 11:35 AM, lei liu <liulei412@gmail.com> wrote:
>
>> I use the metrics v2, there are COUNTER and GAUGE metric type in metrics
>> v2.
>>  What is the difference between the two?
>>
>> Thanks,
>> LiuLei
>>
>
>

Mime
View raw message