Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D37FB2009F9 for ; Mon, 23 May 2016 21:05:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D2067160A2B; Mon, 23 May 2016 19:05:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 1F2CC160A05 for ; Mon, 23 May 2016 21:05:13 +0200 (CEST) Received: (qmail 41596 invoked by uid 500); 23 May 2016 19:05:13 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 41574 invoked by uid 99); 23 May 2016 19:05:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 May 2016 19:05:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C88732C1F56 for ; Mon, 23 May 2016 19:05:12 +0000 (UTC) Date: Mon, 23 May 2016 19:05:12 +0000 (UTC) From: "Mikhail Antonov (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HBASE-15880) RpcClientImpl#tracedWriteRequest incorrectly closes HTrace span MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 23 May 2016 19:05:15 -0000 Mikhail Antonov created HBASE-15880: --------------------------------------- Summary: RpcClientImpl#tracedWriteRequest incorrectly closes HTrace span Key: HBASE-15880 URL: https://issues.apache.org/jira/browse/HBASE-15880 Project: HBase Issue Type: Bug Components: tracing Affects Versions: 1.2.1, 1.3.0 Reporter: Mikhail Antonov Assignee: Mikhail Antonov Fix For: 1.3.0 In this method we continue the span and then close it, which causes the current span (the one created by client app around HTabl#get() or similar API call) to be closed incorrectly. {code} TraceScope ts = Trace.continueSpan(span); try { writeRequest(call, priority, span); } finally { ts.close(); } {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)