[
https://issues.apache.org/jira/browse/HDFS-2181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119565#comment-13119565
]
Todd Lipcon commented on HDFS-2181:
-----------------------------------
Hi Sanjay. Since this is a big patch, I want to make sure I understand what's
going on. It looks like it does the following:
1. Move the construction of RPC proxies and wire objects into a "client side
translator" class.
2. Pass a new ServerSideTranslator implementation to the RPC.getServer calls.
This ServerSideTranslator translates from wire types back to the generic
protocol types.
3. For each of the current types (eg LocatedBlocks, etc), copy them into a
protocolR23Compatible package. For each of these classes, add a static method
to convert to/from the generic type in the .protocol package
4. The Translator classes use the convertTo/convertFrom methods to go from wire
types to generic types.
Does this accurately describe the contents of the patch? I want to make sure I
got it right before I give specific patch feedback.
> Seperate HDFS wire protocol data types
> --------------------------------------
>
> Key: HDFS-2181
> URL: https://issues.apache.org/jira/browse/HDFS-2181
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Sanjay Radia
> Assignee: Sanjay Radia
> Attachments: separateDataType1.patch, separateDataType10.patch,
> separateDataType11.patch, separateDataType12.patch, separateDataType2.patch,
> separateDataType6.patch, separateDataType7.patch, separateDataType8.patch,
> separateDataType9.patch
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira