hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Patrick McCabe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7675) Unused member DFSClient.spanReceiverHost
Date Tue, 27 Jan 2015 19:15:34 GMT

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

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

Currently, we don't reference count our {{SpanReceivers}}.  So if a single {{DFSClient}} exited
and called {{closeReceivers}}, it could close things that other {{DFSClients}} were using.

I would be a fine with a patch adding reference counts to each {{SpanReceiver}} here.  I don't
think it will be that useful to many HDFS clients (maybe no production ones?), but it's more
"satisfying" to have us close things when the {{DFSClient}} is closed.

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

Mime
View raw message