hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Srinivas (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8093) HadoopRpcRequestProto should not be serialize twice
Date Mon, 20 Feb 2012 09:48:36 GMT

    [ 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

        

Mime
View raw message