Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-2568

Use a set to manage child sockets in XceiverServer

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: 0.23.1
    • Component/s: datanode
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      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.

      1. HDFS-2568.patch
        3 kB
        Harsh J
      2. HDFS-2568.patch
        2 kB
        Harsh J

        Activity

        Allen Wittenauer made changes -
        Affects Version/s 2.0.0-alpha [ 12320353 ]
        Affects Version/s 0.24.0 [ 12317653 ]
        Allen Wittenauer made changes -
        Fix Version/s 0.24.0 [ 12317653 ]
        Arun C Murthy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Suresh Srinivas made changes -
        Fix Version/s 0.24.0 [ 12317653 ]
        Eli Collins made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Eli Collins made changes -
        Hadoop Flags Reviewed [ 10343 ]
        Fix Version/s 0.23.1 [ 12318885 ]
        Fix Version/s 0.24.0 [ 12317653 ]
        Harsh J made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Harsh J made changes -
        Attachment HDFS-2568.patch [ 12504388 ]
        Harsh J made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Harsh J made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Assignee Harsh J [ qwertymaniac ]
        Harsh J made changes -
        Field Original Value New Value
        Attachment HDFS-2568.patch [ 12504386 ]
        Harsh J created issue -

          People

          • Assignee:
            Harsh J
            Reporter:
            Harsh J
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development