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 0C82C9D07 for ; Wed, 2 May 2012 06:05:24 +0000 (UTC) Received: (qmail 58072 invoked by uid 500); 2 May 2012 06:05:23 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 58030 invoked by uid 500); 2 May 2012 06:05:23 -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 58018 invoked by uid 99); 2 May 2012 06:05:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 May 2012 06:05:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 May 2012 06:05:22 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 9D10442B325 for ; Wed, 2 May 2012 06:05:02 +0000 (UTC) Date: Wed, 2 May 2012 06:05:02 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: <1147057445.16107.1335938702664.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <399335940.7048.1335666288507.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-5897) prePut coprocessor hook causing substantial CPU usage MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-5897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13266373#comment-13266373 ] Hudson commented on HBASE-5897: ------------------------------- Integrated in HBase-TRUNK-security #189 (See [https://builds.apache.org/job/HBase-TRUNK-security/189/]) HBASE-5897 prePut coprocessor hook causing substantial CPU usage (Revision 1332811) Result = SUCCESS larsh : Files : * /hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java > prePut coprocessor hook causing substantial CPU usage > ----------------------------------------------------- > > Key: HBASE-5897 > URL: https://issues.apache.org/jira/browse/HBASE-5897 > Project: HBase > Issue Type: Bug > Affects Versions: 0.92.0 > Reporter: Todd Lipcon > Assignee: Todd Lipcon > Priority: Critical > Fix For: 0.92.2, 0.94.0, 0.96.0 > > Attachments: 5897-simple.txt, 5897-v2.txt, 5897-v3-0.92.txt, 5897-v3-0.94.txt, 5897-v3.txt, hbase-5897.txt, testRegionServerCoprocessorExceptionWithRemove.stack > > > I was running an insert workload against trunk under oprofile and saw that a significant portion of CPU usage was going to calling the "prePut" coprocessor hook inside doMiniBatchPut, even though I don't have any coprocessors installed. I ran a million-row insert and collected CPU time spent in the RS after commenting out the preput hook, and found CPU usage reduced by 33%. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira