hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Hofhansl (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10212) New rpc metric: number of active handler
Date Fri, 20 Dec 2013 07:01:11 GMT

    [ https://issues.apache.org/jira/browse/HBASE-10212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13853742#comment-13853742

Lars Hofhansl commented on HBASE-10212:

Very useful indeed. I was thinking about adding this myself.
Do you have a patch?

> New rpc metric: number of active handler
> ----------------------------------------
>                 Key: HBASE-10212
>                 URL: https://issues.apache.org/jira/browse/HBASE-10212
>             Project: HBase
>          Issue Type: Improvement
>          Components: IPC/RPC
>            Reporter: Chao Shi
> The attached patch adds a new metric: number of active handler threads. We found this
is a good metric to measure how busy of a server. If this number is too high (compared to
the total number of handlers), the server has risks in getting call queue full.
> We used to monitor  # reads or # writes. However we found this often produce false alerts,
because a read touching HDFS will produce much high workload than a block-cached read.
> The attached patch is based on our internal 0.94 branch, but I think it pretty easy to
port to rebase to other branches if you think it is useful.

This message was sent by Atlassian JIRA

View raw message