我们在hadoop中使用rpc还是ssh进行进程间通信?

62o28rlo  于 2021-06-02  发布在  Hadoop
关注(0)|答案(1)|浏览(709)

在阅读hadoop权威指南的第四章时,我发现了以下句子:

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进行通信。
有人能解释一下我们用rpc或ssh来进行进程间通信吗?请澄清我的疑问。

8i9zcol2

8i9zcol21#

hadoop deamons是javaprocesss,它将通过rpc进行通信。所以java对象以序列化对象的形式通过网络。ssh或secureshell是一种用于安全地登录到远程系统的协议。这是访问远程linux和类unix服务器(如vps示例)的最常见方法

相关问题