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 2017/07/31 23:30:46 UTC

hive git commit: HIVE-16985 : LLAP IO: enable SMB join in elevator after the former is fixed (Deepak Jaiswal, reviewed by Sergey Shelukhin)

Repository: hive
Updated Branches:
  refs/heads/master 56dd2a1d6 -> 0049e9093


HIVE-16985 : LLAP IO: enable SMB join in elevator after the former is fixed (Deepak Jaiswal, 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/0049e909
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/0049e909
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/0049e909

Branch: refs/heads/master
Commit: 0049e90934959e1b35d7cf2af2bc871982ccd092
Parents: 56dd2a1
Author: sergey <se...@apache.org>
Authored: Mon Jul 31 16:30:23 2017 -0700
Committer: sergey <se...@apache.org>
Committed: Mon Jul 31 16:30:43 2017 -0700

----------------------------------------------------------------------
 .../apache/hadoop/hive/llap/io/api/impl/LlapRecordReader.java    | 3 +--
 ql/src/test/queries/clientpositive/llap_smb.q                    | 4 ++--
 2 files changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/0049e909/llap-server/src/java/org/apache/hadoop/hive/llap/io/api/impl/LlapRecordReader.java
----------------------------------------------------------------------
diff --git a/llap-server/src/java/org/apache/hadoop/hive/llap/io/api/impl/LlapRecordReader.java b/llap-server/src/java/org/apache/hadoop/hive/llap/io/api/impl/LlapRecordReader.java
index bbfe856..5d93884 100644
--- a/llap-server/src/java/org/apache/hadoop/hive/llap/io/api/impl/LlapRecordReader.java
+++ b/llap-server/src/java/org/apache/hadoop/hive/llap/io/api/impl/LlapRecordReader.java
@@ -181,7 +181,6 @@ class LlapRecordReader
 
     BaseWork work = null;
     // HIVE-16985: try to find the fake merge work for SMB join, that is really another MapWork.
-    /*
     if (inputName != null) {
       if (prefixes == null ||
           !Lists.newArrayList(prefixes.split(",")).contains(inputName)) {
@@ -191,7 +190,7 @@ class LlapRecordReader
     if (inputName != null) {
       work = Utilities.getMergeWork(job, inputName);
     }
-    */
+
     if (work == null || !(work instanceof MapWork)) {
       work = Utilities.getMapWork(job);
     }

http://git-wip-us.apache.org/repos/asf/hive/blob/0049e909/ql/src/test/queries/clientpositive/llap_smb.q
----------------------------------------------------------------------
diff --git a/ql/src/test/queries/clientpositive/llap_smb.q b/ql/src/test/queries/clientpositive/llap_smb.q
index 83681ea..b09901d 100644
--- a/ql/src/test/queries/clientpositive/llap_smb.q
+++ b/ql/src/test/queries/clientpositive/llap_smb.q
@@ -1,7 +1,7 @@
 set hive.mapred.mode=nonstrict;
 SET hive.vectorized.execution.enabled=true;
 
-SET hive.llap.io.enabled=false;
+SET hive.llap.io.enabled=true;
 SET hive.exec.orc.default.buffer.size=32768;
 SET hive.exec.orc.default.row.index.stride=1000;
 SET hive.optimize.index.filter=true;
@@ -34,7 +34,7 @@ select y,q,count(*) from orc_a a join orc_b b on a.id=b.id group by y,q;
 
 
 
-SET hive.llap.io.enabled=false;
+SET hive.llap.io.enabled=true;
 set hive.enforce.sortmergebucketmapjoin=false;
 set hive.optimize.bucketmapjoin=true;
 set hive.optimize.bucketmapjoin.sortedmerge=true;