This is an automated email from the ASF dual-hosted git repository. elserj pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/phoenix.git
commit 4d1f4a2b1d1f5cb2420c31853828136ba8a0014a Author: Josh Elser <els...@apache.org> AuthorDate: Wed May 22 13:12:53 2019 -0400 Revert "IndexRebuildTaskIT fails with HBase 1.5.x." This reverts commit 27a53681cbab108e208bd5051200b69dd9d6398a. Reverting to reapply with correct commit msg. --- .../java/org/apache/phoenix/hbase/index/wal/IndexedKeyValue.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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 2245f26..025dcc8 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,10 +53,7 @@ public class IndexedKeyValue extends KeyValue { public IndexedKeyValue() {} public IndexedKeyValue(byte[] bs, Mutation mutation) { - this.bytes = mutation.getRow(); - this.offset = 0; - this.length = mutation.getRow().length; - + super(mutation.getRow(), 0, mutation.getRow().length); this.indexTableName = new ImmutableBytesPtr(bs); this.mutation = mutation; this.hashCode = calcHashCode(indexTableName, mutation);