You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Suresh Srinivas (Commented) (JIRA)" <ji...@apache.org> on 2012/02/20 10:48:36 UTC
[jira] [Commented] (HADOOP-8093) HadoopRpcRequestProto should not
be serialize twice
[ https://issues.apache.org/jira/browse/HADOOP-8093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13211743#comment-13211743 ]
Suresh Srinivas commented on HADOOP-8093:
-----------------------------------------
Good catch. +1 for the patchy. Will commit it after jenkins posts resullts.
> HadoopRpcRequestProto should not be serialize twice
> ---------------------------------------------------
>
> Key: HADOOP-8093
> URL: https://issues.apache.org/jira/browse/HADOOP-8093
> Project: Hadoop Common
> Issue Type: Improvement
> Components: ipc
> Affects Versions: 0.24.0, 0.23.2
> Environment: Windows 7
> Reporter: Changming Sun
> Attachments: HADOOP-8093.patch
>
> Original Estimate: 1m
> Remaining Estimate: 1m
>
> @Override
> public void write(DataOutput out) throws IOException {
> out.writeInt(message.toByteArray().length);
> out.write(message.toByteArray());
> }
> The code is not effective.
--
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