What is C-Level Communication?

Why do Hadoop have different communication mechanisms for inter-datanode and datanode-namenode communication?

  • The datanode-namenode communication uses the org.apache.hadoop.ipc package; while the inter-datanode communication is based on simple socket communication. What is the motivation behind such design?

  • Answer:

    I suspect the answer is relatively simplistic:  the only purpose of the inter-datanode communication is (ultimately) to push blocks around for replication purposes, whereas the namenode/datanode protocol requires a lot more nuanced information to go through that pipe.

Allen Wittenauer at Quora Visit the source

Was this solution helpful to you?

Other answers

Timeout limit for a single RPC is the reason that any data communicating with datanode is not done with RPC.

Milind Bhandarkar

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.