[ https://issues.apache.org/jira/browse/HDFS-2568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13153804#comment-13153804 ]
Hudson commented on HDFS-2568: ------------------------------ Integrated in Hadoop-Mapreduce-trunk #903 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/903/]) HDFS-2568. Use a set to manage child sockets in XceiverServer. Contributed by Harsh J eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1204122 Files : * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataXceiver.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataXceiverServer.java > 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