Hi ALL,
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
javax.net.socketfactory.
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
client.
Ahmad