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 2770E173EF for ; Thu, 19 Feb 2015 21:14:12 +0000 (UTC) Received: (qmail 8444 invoked by uid 500); 19 Feb 2015 21:14:12 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 8401 invoked by uid 500); 19 Feb 2015 21:14:12 -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 8304 invoked by uid 99); 19 Feb 2015 21:14:11 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Feb 2015 21:14:11 +0000 Date: Thu, 19 Feb 2015 21:14:11 +0000 (UTC) From: "Elliott Clark (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-13054) Provide more tracing information for locking/latching events. 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-13054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14328139#comment-14328139 ] Elliott Clark commented on HBASE-13054: --------------------------------------- {code}Trace.startSpan("MemStoreScanner").close();{code} This should be an annotation. {code}traceScope.getSpan().addTimelineAnnotation("Waiting for row lock");{code} No need to add that annotation since that's the purpose of the span. {code}if (traceScope != null) traceScope.getSpan().addTimelineAnnotation("Acquired row lock");{code} I'd rather just annotate the failure case since that will be the more un-usual case. > Provide more tracing information for locking/latching events. > ------------------------------------------------------------- > > Key: HBASE-13054 > URL: https://issues.apache.org/jira/browse/HBASE-13054 > Project: HBase > Issue Type: Improvement > Reporter: Rajeshbabu Chintaguntla > Assignee: Rajeshbabu Chintaguntla > Fix For: 2.0.0, 1.0.1, 1.1.0, 0.98.11 > > Attachments: HBASE-13054.patch, HBASE-13054_v2.patch > > > Currently not much tracing information available for locking and latching events like row level locking during do mini batch mutations, region level locking during flush, close and so on. It will be better to add the trace information for such events so that it will be useful for finding time spent on locking and waiting time on locks while analyzing performance issues in queries using trace information. -- This message was sent by Atlassian JIRA (v6.3.4#6332)