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 CD8B0C0B4 for ; Fri, 6 Jul 2012 23:59:34 +0000 (UTC) Received: (qmail 20487 invoked by uid 500); 6 Jul 2012 23:59:34 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 20458 invoked by uid 500); 6 Jul 2012 23:59:34 -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 20449 invoked by uid 99); 6 Jul 2012 23:59:34 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jul 2012 23:59:34 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 6A190142822 for ; Fri, 6 Jul 2012 23:59:34 +0000 (UTC) Date: Fri, 6 Jul 2012 23:59:33 +0000 (UTC) From: "Andrew Purtell (JIRA)" To: issues@hbase.apache.org Message-ID: <520061725.17247.1341619174438.JavaMail.jiratomcat@issues-vm> In-Reply-To: <927026892.17222.1341618934643.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Comment Edited] (HBASE-6346) Metrics updating may be using excessive CPU 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-6346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13408463#comment-13408463 ] Andrew Purtell edited comment on HBASE-6346 at 7/6/12 11:57 PM: ---------------------------------------------------------------- See attached graph.gif what CPU use on the cluster looks like. Nothing should be running, this is a Hadoop+HBase cluster started up and left alone. 'top' on the hosts shows all CPU time used by the JVM running the regionserver. Attached as runnable_cpu_profile.png is a snapshot of what jprofiler sees of a 2.0.1+0.94.1 HBase process started in-tree as './bin/hbase master start'. I've also attached a stack dump so you can see it is doing "nothing". Edit: I haven't missed that most of that time is system time. Wonder what is up with that. was (Author: apurtell): See attached graph.gif what CPU use on the cluster looks like. Nothing should be running, this is a Hadoop+HBase cluster started up and left alone. 'top' on the hosts shows all CPU time used by the JVM running the regionserver. Attached as runnable_cpu_profile.png is a snapshot of what jprofiler sees of a 2.0.1+0.94.1 HBase process started in-tree as './bin/hbase master start'. I've also attached a stack dump so you can see it is doing "nothing". > Metrics updating may be using excessive CPU > ------------------------------------------- > > Key: HBASE-6346 > URL: https://issues.apache.org/jira/browse/HBASE-6346 > Project: HBase > Issue Type: Bug > Environment: Hadoop 2.0.1-alpha, HBase 0.94.1-SNAPSHOT > Reporter: Andrew Purtell > Attachments: graph.gif, jstack.txt, runnable_cpu_profile.png > > > I've only started looking at this but became concerned when a completely quiescent cluster loads up 20% CPU (system+user) once HBase comes up. -- 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