[
https://issues.apache.org/jira/browse/HADOOP-3274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konstantin Shvachko updated HADOOP-3274:
----------------------------------------
Resolution: Fixed
Fix Version/s: 0.18.0
Hadoop Flags: [Reviewed]
Status: Resolved (was: Patch Available)
I just committed this. Thank you Nicholas.
> The default constructor of BytesWritable should not create a 100-byte array.
> ----------------------------------------------------------------------------
>
> Key: HADOOP-3274
> URL: https://issues.apache.org/jira/browse/HADOOP-3274
> Project: Hadoop Core
> Issue Type: Improvement
> Components: io
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Priority: Minor
> Fix For: 0.18.0
>
> Attachments: 3274_20080417.patch
>
>
> The default byte array should be an empty array and the empty array should be
> stored in a static final variable. Then, there is no unnecessary memory
> allocation.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.