[
https://issues.apache.org/jira/browse/HDFS-7063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14361427#comment-14361427
]
Haohui Mai commented on HDFS-7063:
----------------------------------
It should not be an issue if short circuit read is turned on.
> 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)