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
         Environment: Windows 7
            Reporter: Changming Sun


    @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

        

Reply via email to