You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Harsh J (Created) (JIRA)" <ji...@apache.org> on 2011/11/19 19:58:52 UTC

[jira] [Created] (HDFS-2568) Use a set to manage child sockets in XceiverServer

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
            Priority: Trivial
             Fix For: 0.24.0


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