[
https://issues.apache.org/jira/browse/HDFS-8213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14507847#comment-14507847
]
Billie Rinaldi commented on HDFS-8213:
--------------------------------------
Yes, clients need tracing, and when they do they should enable it themselves.
FsShell should enable tracing when it wants to use it, instead of doing that in
DFSClient.
A solution in 2.7.1 would be sufficient. I have concerns about bumping the
htrace dependency version as htrace 3.2 has many API incompatibilities with
3.1. I've begun to compile them on ACCUMULO-3741.
> 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
> Assignee: Brahma Reddy Battula
> 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)