You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Colin Patrick McCabe (JIRA)" <ji...@apache.org> on 2015/04/21 23:27:58 UTC

[jira] [Commented] (HDFS-8213) DFSClient should not instantiate SpanReceiverHost

    [ 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)