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 "Daryn Sharp (JIRA)" <ji...@apache.org> on 2016/08/25 17:23:20 UTC

[jira] [Updated] (HADOOP-13549) Eliminate intermediate buffer for server-side PB encoding

     [ https://issues.apache.org/jira/browse/HADOOP-13549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daryn Sharp updated HADOOP-13549:
---------------------------------
    Attachment: HADOOP-13549.patch

Patch is rather trivial to include an optimized second PB-specific method for setupResponse.  Existing tests prove the encoding is correct else the client would fail.

> Eliminate intermediate buffer for server-side PB encoding
> ---------------------------------------------------------
>
>                 Key: HADOOP-13549
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13549
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: ipc
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>         Attachments: HADOOP-13549.patch
>
>
> HADOOP-13426 improved encoding and added framed buffers.  Upon further review, the intermediate response buffer is completely unnecessary for PB responses since the size can be pre-computed unlike Writables.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org