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 "Matt Foley (JIRA)" <ji...@apache.org> on 2011/02/28 10:49:36 UTC
[jira] Updated: (HADOOP-6949) Reduces RPC packet size for primitive
arrays, especially long[], which is used at block reporting
[ https://issues.apache.org/jira/browse/HADOOP-6949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Foley updated HADOOP-6949:
-------------------------------
Attachment: arrayprim_v5.patch
This patch is same as v4, plus increments the RPC version number, org.apache.hadoop.ipc.Server#CURRENT_VERSION. Thanks, Hairong, for the clarification.
HADOOP-7158 has been opened for the discussion of similar optimization of wire format for homogeneous arrays of non-primitive objects. I'll post a prototype patch to that Jira tomorrow.
Unless the auto-tester finds a problem, I think this v5 patch is ready to go. Enabling patch test. Thanks.
> Reduces RPC packet size for primitive arrays, especially long[], which is used at block reporting
> -------------------------------------------------------------------------------------------------
>
> Key: HADOOP-6949
> URL: https://issues.apache.org/jira/browse/HADOOP-6949
> Project: Hadoop Common
> Issue Type: Improvement
> Components: io
> Reporter: Navis
> Assignee: Matt Foley
> Fix For: 0.23.0
>
> Attachments: ObjectWritable.diff, arrayprim.patch, arrayprim_v4.patch, arrayprim_v5.patch
>
> Original Estimate: 10m
> Remaining Estimate: 10m
>
> Current implementation of oah.io.ObjectWritable marshals primitive array types as general object array ; array type string + array length + (element type string + value)*n
> It would not be needed to specify each element types for primitive arrays.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira