This jira tracks the effort of moving the following two parts to hadoop-hdfs-client module:
- *Peer.java classes
- static helper methods in TcpPeerServer
In org.apache.hadoop.hdfs.net package, the Peer classes should be moved to hadoop-hdfs-client module as they are used in client, while PeerServer classes stay in hadoop-hdfs module. For the static helper methods in TcpPeerServer, we need to move them out of the TcpPeerServer class and put them in client module.
Meanwhile, we need to move the related classes in org.apache.hadoop.hdfs.protocol.datatransfer.sasl packages as they're used by client module. Config keys should also be moved.