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 74D6217C7C for ; Wed, 8 Apr 2015 17:03:13 +0000 (UTC) Received: (qmail 10371 invoked by uid 500); 8 Apr 2015 17:03:13 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 10330 invoked by uid 500); 8 Apr 2015 17:03:13 -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 10318 invoked by uid 99); 8 Apr 2015 17:03:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Apr 2015 17:03:13 +0000 Date: Wed, 8 Apr 2015 17:03:13 +0000 (UTC) From: "John Leach (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-13420) RegionEnvironment.offerExecutionLatency Blocks Threads under Heavy Load 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-13420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14485539#comment-14485539 ] John Leach commented on HBASE-13420: ------------------------------------ Andrew, Will do for the short term. Clearly, if we want to display metrics for coprocessors they should display all coprocs and have a scalable meter impl for them we clear understanding of what "execution time" means. John > RegionEnvironment.offerExecutionLatency Blocks Threads under Heavy Load > ----------------------------------------------------------------------- > > Key: HBASE-13420 > URL: https://issues.apache.org/jira/browse/HBASE-13420 > Project: HBase > Issue Type: Improvement > Reporter: John Leach > Assignee: Andrew Purtell > Attachments: HBASE-13420.patch, HBASE-13420.txt, offerExecutionLatency.tiff > > Original Estimate: 3h > Remaining Estimate: 3h > > The ArrayBlockingQueue blocks threads for 20s during a performance run focusing on creating numerous small scans. > I see a buffer size of (100) > private final BlockingQueue coprocessorTimeNanos = new ArrayBlockingQueue( > LATENCY_BUFFER_SIZE); > and then I see a drain coming from > MetricsRegionWrapperImpl with 45 second executor > HRegionMetricsWrapperRunable > RegionCoprocessorHost#getCoprocessorExecutionStatistics() > RegionCoprocessorHost#getExecutionLatenciesNanos() > Am I missing something? -- This message was sent by Atlassian JIRA (v6.3.4#6332)