This is an automated email from the ASF dual-hosted git repository. elserj pushed a commit to branch 4.x-HBase-1.5 in repository https://gitbox.apache.org/repos/asf/phoenix.git
commit 0033dc62ee9700cda68fc97f8e82dfa14a4801b7 Author: Lars Hofhansl <la...@apache.org> AuthorDate: Wed May 22 13:14:27 2019 -0400 PHOENIX-5289 IndexRebuildTaskIT fails with HBase 1.5.x. Re-applying the original change with correct commit msg. --- .../java/org/apache/phoenix/hbase/index/wal/IndexedKeyValue.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/wal/IndexedKeyValue.java b/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/wal/IndexedKeyValue.java index f01dc06..5ad2435 100644 --- a/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/wal/IndexedKeyValue.java +++ b/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/wal/IndexedKeyValue.java @@ -53,7 +53,10 @@ public class IndexedKeyValue extends KeyValue { public IndexedKeyValue() {} public IndexedKeyValue(byte[] bs, Mutation mutation) { - super(mutation.getRow(), 0, mutation.getRow().length); + this.bytes = mutation.getRow(); + this.offset = 0; + this.length = mutation.getRow().length; + this.indexTableName = new ImmutableBytesPtr(bs); this.mutation = mutation; this.hashCode = calcHashCode(indexTableName, mutation);