You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by el...@apache.org on 2019/05/22 17:16:32 UTC

[phoenix] branch 4.x-HBase-1.5 updated (b3e29b2 -> 0033dc6)

This is an automated email from the ASF dual-hosted git repository.

elserj pushed a change to branch 4.x-HBase-1.5
in repository https://gitbox.apache.org/repos/asf/phoenix.git.


    from b3e29b2  IndexRebuildTaskIT fails with HBase 1.5.x.
     new 5f67fad  Revert "IndexRebuildTaskIT fails with HBase 1.5.x."
     new 0033dc6  PHOENIX-5289 IndexRebuildTaskIT fails with HBase 1.5.x.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:


[phoenix] 02/02: PHOENIX-5289 IndexRebuildTaskIT fails with HBase 1.5.x.

Posted by el...@apache.org.
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);


[phoenix] 01/02: Revert "IndexRebuildTaskIT fails with HBase 1.5.x."

Posted by el...@apache.org.
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 5f67fadbe6a5b4c95ceb713d1e0ceac712f45b18
Author: Josh Elser <el...@apache.org>
AuthorDate: Wed May 22 13:14:16 2019 -0400

    Revert "IndexRebuildTaskIT fails with HBase 1.5.x."
    
    This reverts commit b3e29b24ba2be24fa95dbd7a651dc8dc5f4640b3.
    
    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 5ad2435..f01dc06 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);