[prev in list] [next in list] [prev in thread] [next in thread]
List: hadoop-user
Subject: Re: metric type
From: Jitendra Yadav <jeetuyadav200890 () gmail ! com>
Date: 2013-08-31 19:56:55
Message-ID: CAF4PTbzfUFUjbwdZBJrimOhQSEY5aTAbiJ=hML8-SNsWO4L2RQ () mail ! gmail ! com
[Download RAW message or body]
Yes, MutableCounterLong helps to gather DataNode read/write statics.
There is more option available within this metric
Regards
Jitendra
On 8/31/13, lei liu <liulei412@gmail.com> wrote:
> There is @Metric MutableCounterLong bytesWritten attribute in
> DataNodeMetrics, which is used to IO/sec statistics?
>
>
> 2013/8/31 Jitendra Yadav <jeetuyadav200890@gmail.com>
>
>> 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 <liulei412@gmail.com> wrote:
>> >
>> > Hi Jitendra,
>> > If I want to statistics number of bytes read per second,and display th=
e
>> 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/pack=
age-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=EF=BC=9F
>> >>>
>> >>> Thanks,
>> >>> LiuLei
>> >>
>> >>
>> >
>>
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic