[ 
https://issues.apache.org/jira/browse/HADOOP-6949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12908591#action_12908591
 ] 

Navis commented on HADOOP-6949:
-------------------------------

You're right. It's just an mere aesthetic mod, but a real improvement.

It was the smallest part of in-house NN-HA implementaion. For DN having couple 
of million blocks, it reduced  block reporting time from 21sec --> 17 sec.

I'll resolve this issue as a 'Not-A-Problem'. Thanks for your comment.

> 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
>            Priority: Trivial
>         Attachments: ObjectWritable.diff
>
>   Original Estimate: 0.17h
>  Remaining Estimate: 0.17h
>
> 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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to