Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C1C4B10E25 for ; Tue, 18 Feb 2014 02:45:32 +0000 (UTC) Received: (qmail 41366 invoked by uid 500); 18 Feb 2014 02:45:28 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 41060 invoked by uid 500); 18 Feb 2014 02:45:26 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 40965 invoked by uid 99); 18 Feb 2014 02:45:24 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Feb 2014 02:45:24 +0000 Date: Tue, 18 Feb 2014 02:45:24 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-10212) New rpc metric: number of active handler MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-10212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13903716#comment-13903716 ] Hudson commented on HBASE-10212: -------------------------------- ABORTED: Integrated in HBase-0.94 #1292 (See [https://builds.apache.org/job/HBase-0.94/1292/]) HBASE-10212 New rpc metric: number of active handler. (Chao Shi) (larsh: rev 1569122) * /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/ipc/HBaseRpcMetrics.java * /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/ipc/HBaseServer.java > 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 > Assignee: Chao Shi > Fix For: 0.94.17 > > Attachments: hbase-10212.patch > > > 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 (v6.1.5#6160)