What is IPC classes for???

2010-07-07 Thread Ahmad Shahzad
Hi ALL,
  Can anyone tell me that what is the purpose of IPC classes in
hadoop. They are in the \src\core\org\apache\hadoop\ipc folder.

Regards,
Ahmad Shahzad


Re: What is IPC classes for???

2010-07-07 Thread Alex Loddengaard
Hi Ahmad,

Those are the classes used for daemons to talk to each other.  Take a look
at what IPC means:

http://en.wikipedia.org/wiki/Inter-process_communication

Hope this helps.

Alex

On Wed, Jul 7, 2010 at 11:32 AM, Ahmad Shahzad ashahz...@gmail.com wrote:

 Hi ALL,
  Can anyone tell me that what is the purpose of IPC classes in
 hadoop. They are in the \src\core\org\apache\hadoop\ipc folder.

 Regards,
 Ahmad Shahzad



Re: What is IPC classes for???

2010-07-07 Thread Ahmad Shahzad
But i want to know if they are used by JobTracker and TaskTracker, or they
are used by DataNode and NameNode. Or is it used by the child
threads that are used for map-reduce to talk to TaskTracker on that machine.

Regards,
Ahmad Shahzad


Re: What is IPC classes for???

2010-07-07 Thread Todd Lipcon
On Wed, Jul 7, 2010 at 12:25 PM, Ahmad Shahzad ashahz...@gmail.com wrote:

 But i want to know if they are used by JobTracker and TaskTracker, or they
 are used by DataNode and NameNode. Or is it used by the child
 threads that are used for map-reduce to talk to TaskTracker on that
 machine.


All of the above. See the packages
org.apache.hadoop.{hdfs,mapred}.{protocol,server.protocol}


 Regards,
 Ahmad Shahzad




-- 
Todd Lipcon
Software Engineer, Cloudera