You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by se...@apache.org on 2016/08/15 20:59:11 UTC

[1/4] hive git commit: HIVE-14483 : java.lang.ArrayIndexOutOfBoundsException org.apache.orc.impl.TreeReaderFactory.commonReadByteArrays (Sergey Zadoroshnyak, reviewed by Sergey Shelukhin)

Repository: hive
Updated Branches:
  refs/heads/branch-1 2af539c17 -> 3208897f7
  refs/heads/branch-2.0 74c46e846 -> 1ccefa329
  refs/heads/branch-2.1 b1188b45d -> 3965fc0f5
  refs/heads/master e841edc57 -> 653b85899


HIVE-14483 : java.lang.ArrayIndexOutOfBoundsException org.apache.orc.impl.TreeReaderFactory.commonReadByteArrays (Sergey Zadoroshnyak, reviewed by Sergey Shelukhin)

Conflicts:
	ql/src/java/org/apache/hadoop/hive/ql/io/orc/TreeReaderFactory.java


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/1ccefa32
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/1ccefa32
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/1ccefa32

Branch: refs/heads/branch-2.0
Commit: 1ccefa3299cb5e63a0e9d61ef8fac739f6a2bdfa
Parents: 74c46e8
Author: Sergey Shelukhin <se...@apache.org>
Authored: Mon Aug 15 13:27:23 2016 -0700
Committer: Sergey Shelukhin <se...@apache.org>
Committed: Mon Aug 15 13:54:12 2016 -0700

----------------------------------------------------------------------
 ql/src/java/org/apache/hadoop/hive/ql/io/orc/TreeReaderFactory.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/1ccefa32/ql/src/java/org/apache/hadoop/hive/ql/io/orc/TreeReaderFactory.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/io/orc/TreeReaderFactory.java b/ql/src/java/org/apache/hadoop/hive/ql/io/orc/TreeReaderFactory.java
index 8bb32ea..4db95d9 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/io/orc/TreeReaderFactory.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/io/orc/TreeReaderFactory.java
@@ -1501,6 +1501,7 @@ public class TreeReaderFactory {
         BytesColumnVector result, final int batchSize) throws IOException {
       // Read lengths
       scratchlcv.isNull = result.isNull;  // Notice we are replacing the isNull vector here...
+      scratchlcv.ensureSize(batchSize, false);
       lengths.nextVector(scratchlcv, batchSize);
       int totalLength = 0;
       if (!scratchlcv.isRepeating) {


[2/4] hive git commit: HIVE-14483 : java.lang.ArrayIndexOutOfBoundsException org.apache.orc.impl.TreeReaderFactory.commonReadByteArrays (Sergey Zadoroshnyak, reviewed by Sergey Shelukhin)

Posted by se...@apache.org.
HIVE-14483 : java.lang.ArrayIndexOutOfBoundsException org.apache.orc.impl.TreeReaderFactory.commonReadByteArrays (Sergey Zadoroshnyak, reviewed by Sergey Shelukhin)

Conflicts:
	ql/src/java/org/apache/hadoop/hive/ql/io/orc/TreeReaderFactory.java


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/3208897f
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/3208897f
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/3208897f

Branch: refs/heads/branch-1
Commit: 3208897f7697af733b00ab40856012f76e80cf9c
Parents: 2af539c
Author: Sergey Shelukhin <se...@apache.org>
Authored: Mon Aug 15 13:27:23 2016 -0700
Committer: Sergey Shelukhin <se...@apache.org>
Committed: Mon Aug 15 13:54:31 2016 -0700

----------------------------------------------------------------------
 ql/src/java/org/apache/hadoop/hive/ql/io/orc/TreeReaderFactory.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/3208897f/ql/src/java/org/apache/hadoop/hive/ql/io/orc/TreeReaderFactory.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/io/orc/TreeReaderFactory.java b/ql/src/java/org/apache/hadoop/hive/ql/io/orc/TreeReaderFactory.java
index 146b3f0..3858a79 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/io/orc/TreeReaderFactory.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/io/orc/TreeReaderFactory.java
@@ -1487,6 +1487,7 @@ public class TreeReaderFactory {
         BytesColumnVector result, long batchSize) throws IOException {
       // Read lengths
       scratchlcv.isNull = result.isNull;  // Notice we are replacing the isNull vector here...
+      scratchlcv.ensureSize(batchSize, false);
       lengths.nextVector(scratchlcv, batchSize);
       int totalLength = 0;
       if (!scratchlcv.isRepeating) {


[4/4] hive git commit: HIVE-14483 : java.lang.ArrayIndexOutOfBoundsException org.apache.orc.impl.TreeReaderFactory.commonReadByteArrays (Sergey Zadoroshnyak, reviewed by Sergey Shelukhin)

Posted by se...@apache.org.
HIVE-14483 : java.lang.ArrayIndexOutOfBoundsException org.apache.orc.impl.TreeReaderFactory.commonReadByteArrays (Sergey Zadoroshnyak, reviewed by Sergey Shelukhin)


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/3965fc0f
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/3965fc0f
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/3965fc0f

Branch: refs/heads/branch-2.1
Commit: 3965fc0f503087f6fbb7cc8259fb5ba36a212f1d
Parents: b1188b4
Author: Sergey Shelukhin <se...@apache.org>
Authored: Mon Aug 15 13:55:16 2016 -0700
Committer: Sergey Shelukhin <se...@apache.org>
Committed: Mon Aug 15 13:55:56 2016 -0700

----------------------------------------------------------------------
 orc/src/java/org/apache/orc/impl/TreeReaderFactory.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/3965fc0f/orc/src/java/org/apache/orc/impl/TreeReaderFactory.java
----------------------------------------------------------------------
diff --git a/orc/src/java/org/apache/orc/impl/TreeReaderFactory.java b/orc/src/java/org/apache/orc/impl/TreeReaderFactory.java
index 5901c8c..5fdf60a 100644
--- a/orc/src/java/org/apache/orc/impl/TreeReaderFactory.java
+++ b/orc/src/java/org/apache/orc/impl/TreeReaderFactory.java
@@ -1228,6 +1228,7 @@ public class TreeReaderFactory {
         BytesColumnVector result, final int batchSize) throws IOException {
       // Read lengths
       scratchlcv.isNull = result.isNull;  // Notice we are replacing the isNull vector here...
+      scratchlcv.ensureSize(batchSize, false);
       lengths.nextVector(scratchlcv, scratchlcv.vector, batchSize);
       int totalLength = 0;
       if (!scratchlcv.isRepeating) {


[3/4] hive git commit: HIVE-14483 : java.lang.ArrayIndexOutOfBoundsException org.apache.orc.impl.TreeReaderFactory.commonReadByteArrays (Sergey Zadoroshnyak, reviewed by Sergey Shelukhin)

Posted by se...@apache.org.
HIVE-14483 : java.lang.ArrayIndexOutOfBoundsException org.apache.orc.impl.TreeReaderFactory.commonReadByteArrays (Sergey Zadoroshnyak, reviewed by Sergey Shelukhin)


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/653b8589
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/653b8589
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/653b8589

Branch: refs/heads/master
Commit: 653b85899134229a7fd6debeacab37e82bd350fd
Parents: e841edc
Author: Sergey Shelukhin <se...@apache.org>
Authored: Mon Aug 15 13:55:16 2016 -0700
Committer: Sergey Shelukhin <se...@apache.org>
Committed: Mon Aug 15 13:55:16 2016 -0700

----------------------------------------------------------------------
 orc/src/java/org/apache/orc/impl/TreeReaderFactory.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/653b8589/orc/src/java/org/apache/orc/impl/TreeReaderFactory.java
----------------------------------------------------------------------
diff --git a/orc/src/java/org/apache/orc/impl/TreeReaderFactory.java b/orc/src/java/org/apache/orc/impl/TreeReaderFactory.java
index c4a2093..e6fef91 100644
--- a/orc/src/java/org/apache/orc/impl/TreeReaderFactory.java
+++ b/orc/src/java/org/apache/orc/impl/TreeReaderFactory.java
@@ -1228,6 +1228,7 @@ public class TreeReaderFactory {
         BytesColumnVector result, final int batchSize) throws IOException {
       // Read lengths
       scratchlcv.isNull = result.isNull;  // Notice we are replacing the isNull vector here...
+      scratchlcv.ensureSize(batchSize, false);
       lengths.nextVector(scratchlcv, scratchlcv.vector, batchSize);
       int totalLength = 0;
       if (!scratchlcv.isRepeating) {