[
https://issues.apache.org/jira/browse/HDFS-5230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13782118#comment-13782118
]
Brandon Li commented on HDFS-5230:
----------------------------------
I've committed the patch. Thank you, Haohui, for the contribution!
> Introduce RpcInfo to decouple XDR classes from the RPC API
> ----------------------------------------------------------
>
> Key: HDFS-5230
> URL: https://issues.apache.org/jira/browse/HDFS-5230
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: nfs
> Reporter: Haohui Mai
> Assignee: Haohui Mai
> Attachments: HDFS-5230.002.patch, HDFS-5230.003.patch,
> HDFS-5230.004.patch, HDFS-5230.005.patch, HDFS-5230.006.patch,
> HDFS-5230.007.patch, HDFS-5230.008.patch, HDFS-5230.009.patch
>
>
> The XDR class is one fundamental aspect in the current implementation of NFS
> server. While the client might potentially have a higher level APIs, it also
> requires redundant copying since the upstream clients have insufficient
> information.
> This JIRA introduces a new class, RpcInfo, which (1) decouples XDR from the
> APIs, turning it into a utility class, and (2) exposes ChannelBuffer directly
> to the client in order to open the opportunity for avoid copying.
--
This message was sent by Atlassian JIRA
(v6.1#6144)