Tsz Wo Nicholas Sze created HDFS-7063: -----------------------------------------
Summary: WebHDFS: Avoid using sockets in datanode when the traffic is local Key: HDFS-7063 URL: https://issues.apache.org/jira/browse/HDFS-7063 Project: Hadoop HDFS Issue Type: Improvement Components: webhdfs Reporter: Tsz Wo Nicholas Sze When a WebHDFS client accesses a local replica in a Datanode, the Datanode uses DFSClient and connects to itself using a socket via DataTransferProtocol. The socket connection is unnecessary. It can be avoided such as using PipedInputStream and PipedOutputStream. -- This message was sent by Atlassian JIRA (v6.3.4#6332)