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

Colin Patrick McCabe commented on HDFS-8213:
--------------------------------------------

Hi Billie,

{{DFSClient}} needs to instantiate {{SpanReceiverHost}} in order to implement 
tracing, in the case where the process using the {{DFSClient}} doesn't 
configure its own span receivers.

If you are concerned about multiple span receivers being instantiated, simply 
set {{hadoop.htrace.span.receiver.classes}} to the empty string, and Hadoop 
won't instantiate any span receivers.  That should be its default anyway.

> DFSClient should not instantiate SpanReceiverHost
> -------------------------------------------------
>
>                 Key: HDFS-8213
>                 URL: https://issues.apache.org/jira/browse/HDFS-8213
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.7.0
>            Reporter: Billie Rinaldi
>            Priority: Critical
>
> DFSClient initializing SpanReceivers is a problem for Accumulo, which manages 
> SpanReceivers through its own configuration.  This results in the same 
> receivers being registered multiple times and spans being delivered more than 
> once.  The documentation says SpanReceiverHost.getInstance should be issued 
> once per process, so there is no expectation that DFSClient should do this.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to