[
https://issues.apache.org/jira/browse/HBASE-19431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16278470#comment-16278470
]
Hudson commented on HBASE-19431:
--------------------------------
FAILURE: Integrated in Jenkins build HBase-Trunk_matrix #4172 (See
[https://builds.apache.org/job/HBase-Trunk_matrix/4172/])
HBASE-19431 The tag array written by IndividualBytesFieldCell#write is
(chia7712: rev e29685ed6d144e6c33140bd8c9323101eb123e54)
* (edit)
hbase-common/src/main/java/org/apache/hadoop/hbase/IndividualBytesFieldCell.java
* (edit)
hbase-common/src/test/java/org/apache/hadoop/hbase/TestIndividualBytesFieldCell.java
> The tag array written by IndividualBytesFieldCell#write is out of bounds
> ------------------------------------------------------------------------
>
> Key: HBASE-19431
> URL: https://issues.apache.org/jira/browse/HBASE-19431
> Project: HBase
> Issue Type: Bug
> Reporter: Chia-Ping Tsai
> Assignee: Chia-Ping Tsai
> Priority: Critical
> Fix For: 2.0.0-beta-1
>
> Attachments: HBASE-19431.v0.patch
>
>
> {code:title=IndividualBytesFieldCell.java}
> @Override
> public int write(OutputStream out, boolean withTags) throws IOException {
> // Key length and then value length
> ByteBufferUtils.putInt(out, KeyValueUtil.keyLength(this));
> ByteBufferUtils.putInt(out, getValueLength());
> // Key
> PrivateCellUtil.writeFlatKey(this, out);
> // Value
> out.write(getValueArray());
> // Tags length and tags byte array
> if (withTags && getTagsLength() > 0) {
> // Tags length
> out.write((byte)(0xff & (getTagsLength() >> 8)));
> out.write((byte)(0xff & getTagsLength()));
> // Tags byte array
> out.write(tags); // here
> }
> return getSerializedSize(withTags);
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)