hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-15880) RpcClientImpl#tracedWriteRequest incorrectly closes HTrace span
Date Tue, 24 May 2016 00:19:14 GMT

    [ https://issues.apache.org/jira/browse/HBASE-15880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15297400#comment-15297400
] 

Hudson commented on HBASE-15880:
--------------------------------

SUCCESS: Integrated in HBase-1.2-IT #517 (See [https://builds.apache.org/job/HBase-1.2-IT/517/])
HBASE-15880 RpcClientImpl#tracedWriteRequest incorrectly closes HTrace (antonov: rev 254579893cd123fb8d027e127019649c473e5287)
* hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/RpcClientImpl.java


> 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.3.0, 1.2.1
>            Reporter: Mikhail Antonov
>            Assignee: Mikhail Antonov
>             Fix For: 1.3.0
>
>         Attachments: HBASE-15880-branch-1.3.v1.patch
>
>
> 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)

Mime
View raw message