Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce >> mail # user >> metric type


Copy link to this message
-
Re: metric type
Hi,

For IO/sec statistics I think MutableCounterLongRate  and
MutableCounterLong more useful than others and for xceiver thread
number I'm not bit sure right now.

Thanks
Jiitendra
On Fri, Aug 30, 2013 at 1:40 PM, lei liu <[EMAIL PROTECTED]> wrote:
>
> 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 <[EMAIL PROTECTED]>
>>
>> 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 <[EMAIL PROTECTED]> 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
>>
>>
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB