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

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

     [ https://issues.apache.org/jira/browse/HDFS-2568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Harsh J updated HDFS-2568:
--------------------------

    Attachment: HDFS-2568.patch
    
> 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
>
>         Attachments: 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