[
https://issues.apache.org/jira/browse/HBASE-9493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Hsieh updated HBASE-9493:
----------------------------------
Resolution: Fixed
Hadoop Flags: Reviewed
Status: Resolved (was: Patch Available)
Thanks for the looksee stack. Committed to 0.96 and 0.98. The renamed api was
only available in 0.95 so no deprecation work required.
> Rename CellUtil#get*Array to CellUtil#clone*
> --------------------------------------------
>
> Key: HBASE-9493
> URL: https://issues.apache.org/jira/browse/HBASE-9493
> Project: HBase
> Issue Type: Sub-task
> Affects Versions: 0.95.2
> Reporter: Jonathan Hsieh
> Assignee: Jonathan Hsieh
> Fix For: 0.98.0, 0.96.0
>
> Attachments: hbase-9493.patch
>
>
> To make reading code easier, we should rename the CellUtil#get*Array methods
> (Value,Qualifier,Family,Row) to to CellUtil#clone*. This eliminates the
> possibly confusion between the semantics of these methods (which
> allocate-copy) and that of Cell#get*Array (which essentially just returns a
> pointer).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira