Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
None
Description
The Data transfer between client and datanode and between datanode and datanode is a streaming
protocol where messages and data is sent across a tcp connection.
The messages are not concrete data types (ie they are not classes or interfaces), instead the fields are marshalled and unmarshalled in in various classes.
The message exchange could be made concrete by declaring message data types and/or interfaces.
This will help future automated versioning via protocol-buffers style approach. It will also help document the interface and can simplify the code.