hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Evans <ev...@yahoo-inc.com>
Subject Re: JobTracker/TaskTraker heartbeats communication mechanism?
Date Fri, 29 Jun 2012 13:52:51 GMT
Daniel and Joao,

The RPC classes in Hadoop handle this.  Essentially a proxy object is
create on the client side for the interface, then when a method is called
in the proxy object the parameters are serialized sent to the configured
server along with the method name, where they are deserialized and through
reflection the server method is called.  The for the return
value/exceptions it is done in reverse.

I hope this helps.

--Bobby Evans 

On 6/29/12 8:43 AM, "Daniel Parreira" <dany9995@gmail.com> wrote:

>We're having some problems understanding the communication system used in
>the heartbeats between the JobTracker and the TaskTracker. They are both
>calling the same interface function, but we don¹t understand how that
>allows for communication. *
>*Is there any compiler plugin or RMI-style mechanism involved **that we
>might not be aware of?** We found the interface as the point of
>communication in VersionedProtocol but we haven't found the actual
>implementation anywhere...*
>Thank you,
>Daniel Parreira & João Silva*

View raw message