Can you explain how pipes, sockets, shared memory are used in Hadoop?



0
Could you given an example for each of the above inter-process communication w.r.t Hadoop

1 Answer(s)


0

hi Sharon,

Pipes are used to pass the output of one command as an input to another. In *nix systems pipes can be used to chain multiple commands together.

Sockets are ports where applications listen. Few examples are the chat programs and master-slave programs which communicate through sockets.

A better explanation can be found here
http://beej.us/guide/bgnet/
http://www.kohala.com/start/unpv12e.html

Thanks