Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # dev >> sockets in hadoop


Copy link to this message
-
Re: sockets in hadoop
Hi,

>           Can anyone tell me the purpose of sockets used in hadoop. I mean
> for which purpose hadoop uses sockets?  are they used by tasktracker and
> jobtrackers ? or used by namenode and datanode ?

All communication between Hadoop masters (JobTracker, NameNode),
slaves (TaskTracker, DataNode) and clients happens using a custom RPC
built over sockets.

>
> Secondly, if hadoop has to use sockets does it uses the socket factory
> classes given in org/apache/hadoop/net directory?

Yes

Thanks
hemanth