You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Dhanasekaran Anbalagan <bu...@gmail.com> on 2014/02/22 21:14:48 UTC

How to monitor Hbase thrift service

Hi Guys,

How to monitor Hbase-Thrift service. I already tried JMX metrics for thrift
serivce.
it's exposed very limited metrics. I using hbase-0.94.6-cdh4.4.0,

<mbean name="hadoop.thrift"
objectname="hadoop:service=thrift,name=Thrift"><attrib name="QueueSize"
alias="2QueueSize" type="gauge"/><attrib name="PoolCompletedTaskCount"
alias="2PoolCompletTaskCnt" type="gauge"/><attrib name="PoolTaskCount"
alias="2PoolTaskCnt" type="gauge"/><attrib name="PoolLargestPoolSize"
alias="2PoolLargesPoolSize" type="gauge"/><attrib name="FailedIncrements"
alias="2FailedIncrements" type="gauge"/><attrib
name="SuccessfulCoalescings" alias="2SuccessfuCoalescin"
type="gauge"/><attrib name="TotalIncrements" alias="2TotalIncrements"
type="gauge"/><attrib name="CountersMapSize" alias="2CountersMapSize"
type="gauge"/></mbean>


http://paste.ubuntu.com/6978098/

I want to know. How many request coming via thrift service. In our case all
our application connecting and getting data via. thrift interface.

when application give more request thrift service will dead. I also
verified I don't see any OOM Error.

Please guide me. Any better way monitor and tuning hbase-thrift service.


-Dhanasekaran.




Did I learn something today? If not, I wasted it.

Re: How to monitor Hbase thrift service

Posted by Ted Yu <yu...@gmail.com>.
Can you tell us the values for the following config ?

hbase.thrift.maxWorkerThreads
hbase.thrift.maxQueuedRequests

You can find the explanation for the above parameters in
http://hbase.apache.org/book.html#hbase_default_configurations

Cheers


On Sat, Feb 22, 2014 at 2:14 PM, Dhanasekaran Anbalagan
<bu...@gmail.com>wrote:

> Hi Guys,
>
> How to monitor Hbase-Thrift service. I already tried JMX metrics for thrift
> serivce.
> it's exposed very limited metrics. I using hbase-0.94.6-cdh4.4.0,
>
> <mbean name="hadoop.thrift"
> objectname="hadoop:service=thrift,name=Thrift"><attrib name="QueueSize"
> alias="2QueueSize" type="gauge"/><attrib name="PoolCompletedTaskCount"
> alias="2PoolCompletTaskCnt" type="gauge"/><attrib name="PoolTaskCount"
> alias="2PoolTaskCnt" type="gauge"/><attrib name="PoolLargestPoolSize"
> alias="2PoolLargesPoolSize" type="gauge"/><attrib name="FailedIncrements"
> alias="2FailedIncrements" type="gauge"/><attrib
> name="SuccessfulCoalescings" alias="2SuccessfuCoalescin"
> type="gauge"/><attrib name="TotalIncrements" alias="2TotalIncrements"
> type="gauge"/><attrib name="CountersMapSize" alias="2CountersMapSize"
> type="gauge"/></mbean>
>
>
> http://paste.ubuntu.com/6978098/
>
> I want to know. How many request coming via thrift service. In our case all
> our application connecting and getting data via. thrift interface.
>
> when application give more request thrift service will dead. I also
> verified I don't see any OOM Error.
>
> Please guide me. Any better way monitor and tuning hbase-thrift service.
>
>
> -Dhanasekaran.
>
>
>
>
> Did I learn something today? If not, I wasted it.
>