Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.22.0
-
None
-
Reviewed
Description
The idea is that for getProtocolVersion, NameNode checks if the client and server versions are compatible if the server version is greater than the client version. If no, throws a VersionIncompatible exception; otherwise, returns the server version.
On the dfs client side, when creating a NameNode proxy, catches the VersionMismatch exception and then checks if the client version and the server version are compatible if the client version is greater than the server version. If not compatible, throws exception VersionIncomptible; otherwise, records the server version and continues.
Attachments
Attachments
Issue Links
- depends upon
-
HADOOP-6904 A baby step towards inter-version RPC communications
- Closed