[ 
https://issues.apache.org/jira/browse/HBASE-1407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Erik Holstad updated HBASE-1407:
--------------------------------

    Attachment: HBASE-1407-v1.patch

Patch that changes the way that ImmutableBytesWritable handles the underlying 
byte[], before it used to copy in one constructor and just reference in the 
other, now it just references in both cases. Also changed the comments to fit 
the new code.

> Changing internal structure of ImmutableBytesWritable contructor.
> -----------------------------------------------------------------
>
>                 Key: HBASE-1407
>                 URL: https://issues.apache.org/jira/browse/HBASE-1407
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: io
>    Affects Versions: 0.20.0
>            Reporter: Erik Holstad
>            Assignee: Erik Holstad
>         Attachments: HBASE-1407-v1.patch
>
>
> The constructor for ImmutableBytesWritable that takes byte[] newData, int 
> offset , int length is copying the byte[] as soon as it get's it. Will change 
> that so that it just "points" to the byte[] being passed in.

-- 
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