[
https://issues.apache.org/jira/browse/HDFS-2568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eli Collins updated HDFS-2568:
------------------------------
Fix Version/s: (was: 0.24.0)
0.23.1
Hadoop Flags: Reviewed
+1 lgtm
> Use a set to manage child sockets in XceiverServer
> --------------------------------------------------
>
> Key: HDFS-2568
> URL: https://issues.apache.org/jira/browse/HDFS-2568
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: data-node
> Affects Versions: 0.24.0
> Reporter: Harsh J
> Assignee: Harsh J
> Priority: Trivial
> Fix For: 0.23.1
>
> Attachments: HDFS-2568.patch, HDFS-2568.patch
>
>
> Found while reading up for HDFS-2454, currently we maintain childSockets in a
> DataXceiverServer as a Map<Socket,Socket>. This can very well be a
> Set<Socket> data structure -- since the goal is easy removals.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira