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

Konstantin Shvachko commented on HDFS-7675:
-------------------------------------------

Sounds like you don't need the reference to {{SpanReceiverHost}} in 
{{DFSClient}}, but you still need to initializes 
{{SpanReceiverHost#SingletonHolder#INSTANCE}}. May be a static method, which 
initializes the INSTANCE directly, can be introduced rather than using 
{{getInstance()}} for {{DFSClient}}?

> Unused member DFSClient.spanReceiverHost
> ----------------------------------------
>
>                 Key: HDFS-7675
>                 URL: https://issues.apache.org/jira/browse/HDFS-7675
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: dfsclient
>    Affects Versions: 3.0.0
>            Reporter: Konstantin Shvachko
>
> DFSClient.spanReceiverHost is initialised but never used. Could be redundant.
> This was introduced by HDFS-7055.



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

Reply via email to