hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmad Shahzad <ashahz...@gmail.com>
Subject SOCKET FACTORIES problem.... HELP!!
Date Thu, 12 Aug 2010 23:51:02 GMT
            Does hadoop uses socket factories given in org/apache/hadoop/net
folder for creating every socket it uses???  I was looking at the code of
RPC Server in ipc directory. It creates a ServerSocket with the help of
socketchannel( the NIO package). Also RPC client creates a few sockets with
javax.net.socketfactory class.

Is it like this that at some places sockets are created through socket
factories given in the org/apache/hadoop/net folder and at some places they
are just created through java socket packages, such as NIO and

Also, can i ask hadoop to create every socket that is has to create through
my socket factory??  if i can than what about all written in RPC Server and


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message