hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo Nicholas Sze (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-7063) WebHDFS: Avoid using sockets in datanode when the traffic is local
Date Sat, 13 Sep 2014 03:02:34 GMT
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)

Mime
View raw message