2014-10-07 14 views
0

在阅读权威指南Hadoop的书的第四章中,我发现下面的句子:我们在hadoop中使用RPC或SSH进行进程间通信吗?

In Hadoop, interprocess communication between nodes in the system is implemented using remote procedure calls (RPCs). The RPC protocol uses serialization to render the message into a binary stream to be sent to the remote node, which then deserializes the binary stream into the original message. 

而且我知道,我们使用无密码的SSH 机器之间的通信。

有人可以解释我我们使用什么RPCSSH进行进程间通信?请澄清我的疑惑。

+0

http://stackoverflow.com/questions/13909603/why-do-we-need-hadoop-passwordless-ssh – 2015-03-03 16:45:49

回答

0

Hadoop的守护程序是的Java过程,将通过RPC进行通信。 SO Java对象去传递网络中的序列化的对象形式。 SSH,或安全壳,是用于牢固日志到远程系统的协议。这是访问远程Linux和Unix类服务器(如VPS实例)的最常见方式。

+0

你的意思是RPC使用ssh或tunnel进行进程间通信?首先通过ssh建立网络级通信,然后在RPC之上进行进程间通信。 – 2014-10-07 13:50:17

相关问题