[
https://issues.apache.org/jira/browse/HBASE-8781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13700408#comment-13700408
]
Hudson commented on HBASE-8781:
-------------------------------
Integrated in HBase-TRUNK-on-Hadoop-2.0.0 #599 (See
[https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/599/])
HBASE-8781 ImmutableBytesWritable constructor with another IBW as param
need to consider the offset of the passed IBW (Revision 1499804)
Result = SUCCESS
anoopsamjohn :
Files :
*
/hbase/trunk/hbase-common/src/main/java/org/apache/hadoop/hbase/io/ImmutableBytesWritable.java
> ImmutableBytesWritable constructor with another IBW as param need to consider
> the offset of the passed IBW
> ----------------------------------------------------------------------------------------------------------
>
> Key: HBASE-8781
> URL: https://issues.apache.org/jira/browse/HBASE-8781
> Project: HBase
> Issue Type: Bug
> Affects Versions: 0.94.8
> Reporter: Anoop Sam John
> Assignee: Anoop Sam John
> Priority: Minor
> Fix For: 0.98.0
>
> Attachments: HBASE-8781.patch
>
>
> {code}
> /**
> * Set the new ImmutableBytesWritable to the contents of the passed
> * <code>ibw</code>.
> * @param ibw the value to set this ImmutableBytesWritable to.
> */
> public ImmutableBytesWritable(final ImmutableBytesWritable ibw) {
> this(ibw.get(), 0, ibw.getSize());
> }
> {code}
> It should be this(ibw.get(), ibw.getOffset(), ibw.getSize());
--
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