-Re: JobTracker/TaskTraker heartbeats communication mechanism?
Robert Evans 2012-06-29, 13:52
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.
On 6/29/12 8:43 AM, "Daniel Parreira" <[EMAIL PROTECTED]> 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
>Daniel Parreira & João Silva*