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

Karan Mehta commented on HDFS-7054:
-----------------------------------

bq. detach should be used here to pass responsibility to close the span to 
ResponseProcessor thread when the packet is acked.
Does this mean that the {{writeTo}} span is potentially executing in a 
different thread? I am trying to understand the perspective behind doing it.

bq. Throwing exception when detach is called on already detached TraceScope may 
be improvement to avoid bug like this but HTrace 3 is no longer maintained.
Just FYI, I see that improvement in their master branch already now.


> Make DFSOutputStream tracing more fine-grained
> ----------------------------------------------
>
>                 Key: HDFS-7054
>                 URL: https://issues.apache.org/jira/browse/HDFS-7054
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode, namenode
>    Affects Versions: 2.6.0
>            Reporter: Colin P. McCabe
>            Assignee: Colin P. McCabe
>             Fix For: 2.7.0
>
>         Attachments: HDFS-7054.001.patch, HDFS-7054.002.patch, 
> HDFS-7054.003.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to