Chia-Ping Tsai commented on HBASE-18519:

bq. Are we sure all these passed component byte[]s are immutable?
I browsed all usages, and all passed byte[]s are immutable. Another way is to 
add new methods "createImmutableCell" in CellUtil. And than we file another 
jira to replace the createCell by createImmutableCell. (or maybe one per module)

> Substitute IndividualBytesFieldCell for KeyValue used by CellUtil.createCell
> ----------------------------------------------------------------------------
>                 Key: HBASE-18519
>                 URL: https://issues.apache.org/jira/browse/HBASE-18519
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Chia-Ping Tsai
>            Assignee: Chia-Ping Tsai
>             Fix For: 3.0.0, 2.0.0-alpha-2
>         Attachments: HBASE-18519.v0.patch
> The IndividualBytesFieldCell, which is introduced by HBASE-14882, carries the 
> input arguments without copying.  We can substitute IndividualBytesFieldCell 
> for KeyValue used by CellUtil.createCell.

This message was sent by Atlassian JIRA

Reply via email to