2014-10-07 15 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

相關問題