You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by mail list <lo...@gmail.com> on 2015/04/21 14:18:49 UTC
Wrong request count of jmx
Hi, all
We are using HBase 0.98.6, and we visit the following site:
localhost:60030/jmx?qry=Hadoop:service=HBase,name=RegionServer,sub=Server
get the following output
"totalRequestCount" : 64637261,
"readRequestCount" : 65021869,
"writeRequestCount" : 45971121,
Why totalRequestCount != readRequestCount + writeRequestCount ?
Is it a bug?
Any idea will be appreciated!
Re: Wrong request count of jmx
Posted by "louis.hust" <lo...@gmail.com>.
Thanks very much , it help me a lot!
On Apr 22, 2015, at 1:17, Jerry He <je...@gmail.com> wrote:
> The readRequestCount actually counts the number of rows returned from the
> region server with totals of all the hosted regions.
> The writeRequestCount counts the number of mutations/appends/increments
> with totals of all the hosted regions.
> The totalRequestCount is a mixed bag as Elliott mentioned, but does not
> cover the above two completely.
>
> Jerry
>
>
>
> On Tue, Apr 21, 2015 at 9:13 AM, Elliott Clark <ec...@apache.org> wrote:
>
>> Total request count includes admin commands like roll wal, close regions,
>> open region, compact, and split. So it's possible the number is higher than
>> the sum of the two. However I don't know how it could be lower.
>>
>> On Tue, Apr 21, 2015 at 5:18 AM, mail list <lo...@gmail.com>
>> wrote:
>>
>>> Hi, all
>>>
>>> We are using HBase 0.98.6, and we visit the following site:
>>>
>>>
>>>
>> localhost:60030/jmx?qry=Hadoop:service=HBase,name=RegionServer,sub=Server
>>>
>>> get the following output
>>> "totalRequestCount" : 64637261,
>>> "readRequestCount" : 65021869,
>>> "writeRequestCount" : 45971121,
>>> Why totalRequestCount != readRequestCount + writeRequestCount ?
>>> Is it a bug?
>>>
>>> Any idea will be appreciated!
>>>
>>>
>>>
>>
Re: Wrong request count of jmx
Posted by Jerry He <je...@gmail.com>.
The readRequestCount actually counts the number of rows returned from the
region server with totals of all the hosted regions.
The writeRequestCount counts the number of mutations/appends/increments
with totals of all the hosted regions.
The totalRequestCount is a mixed bag as Elliott mentioned, but does not
cover the above two completely.
Jerry
On Tue, Apr 21, 2015 at 9:13 AM, Elliott Clark <ec...@apache.org> wrote:
> Total request count includes admin commands like roll wal, close regions,
> open region, compact, and split. So it's possible the number is higher than
> the sum of the two. However I don't know how it could be lower.
>
> On Tue, Apr 21, 2015 at 5:18 AM, mail list <lo...@gmail.com>
> wrote:
>
> > Hi, all
> >
> > We are using HBase 0.98.6, and we visit the following site:
> >
> >
> >
> localhost:60030/jmx?qry=Hadoop:service=HBase,name=RegionServer,sub=Server
> >
> > get the following output
> > "totalRequestCount" : 64637261,
> > "readRequestCount" : 65021869,
> > "writeRequestCount" : 45971121,
> > Why totalRequestCount != readRequestCount + writeRequestCount ?
> > Is it a bug?
> >
> > Any idea will be appreciated!
> >
> >
> >
>
Re: Wrong request count of jmx
Posted by Elliott Clark <ec...@apache.org>.
Total request count includes admin commands like roll wal, close regions,
open region, compact, and split. So it's possible the number is higher than
the sum of the two. However I don't know how it could be lower.
On Tue, Apr 21, 2015 at 5:18 AM, mail list <lo...@gmail.com> wrote:
> Hi, all
>
> We are using HBase 0.98.6, and we visit the following site:
>
>
> localhost:60030/jmx?qry=Hadoop:service=HBase,name=RegionServer,sub=Server
>
> get the following output
> "totalRequestCount" : 64637261,
> "readRequestCount" : 65021869,
> "writeRequestCount" : 45971121,
> Why totalRequestCount != readRequestCount + writeRequestCount ?
> Is it a bug?
>
> Any idea will be appreciated!
>
>
>