XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.3-alpha
    • None
    • datanode, hdfs-client
    • None

    Description

      Encapsulate connections to peers into the Peer and PeerServer classes. Since many Java classes may be involved with these connections, it makes sense to create a container for them. For example, a connection to a peer may have an input stream, output stream, readablebytechannel, encrypted output stream, and encrypted input stream associated with it.

      This makes us less dependent on the NetUtils methods which use instanceof to manipulate socket and stream states based on the runtime type. it also paves the way to introduce UNIX domain sockets which don't inherit from java.net.Socket.

      Attachments

        1. _02a.patch
          130 kB
          Colin McCabe
        2. 02b-cumulative.patch
          140 kB
          Colin McCabe
        3. 02c.patch
          129 kB
          Colin McCabe
        4. 02c.patch
          129 kB
          Colin McCabe
        5. 02-cumulative.patch
          138 kB
          Colin McCabe
        6. 02d.patch
          132 kB
          Colin McCabe
        7. 02e.patch
          131 kB
          Colin McCabe
        8. 02f.patch
          131 kB
          Colin McCabe

        Activity

          People

            cmccabe Colin McCabe
            cmccabe Colin McCabe
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: