hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ser...@apache.org
Subject hive git commit: HIVE-11851 : LLAP: Test failures - file.splitmetainfo file not found (Sergey Shelukhin, reviewed by Prasanth Jayachandran)
Date Thu, 17 Sep 2015 23:24:00 GMT
Repository: hive
Updated Branches:
  refs/heads/llap 0697fd92a -> e49799aac


HIVE-11851 : LLAP: Test failures - file.splitmetainfo file not found (Sergey Shelukhin, reviewed
by Prasanth Jayachandran)


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

Branch: refs/heads/llap
Commit: e49799aacca2b509f76e85adae56d8d90451c2c8
Parents: 0697fd9
Author: Sergey Shelukhin <sershe@apache.org>
Authored: Thu Sep 17 16:24:39 2015 -0700
Committer: Sergey Shelukhin <sershe@apache.org>
Committed: Thu Sep 17 16:24:39 2015 -0700

----------------------------------------------------------------------
 .../apache/hadoop/hive/ql/optimizer/physical/LlapDecider.java   | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/e49799aa/ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/LlapDecider.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/LlapDecider.java b/ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/LlapDecider.java
index d49d83e..9a8cb0f 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/LlapDecider.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/LlapDecider.java
@@ -158,6 +158,11 @@ public class LlapDecider implements PhysicalPlanResolver {
 
       // first we check if we *can* run in llap. If we need to use
       // user code to do so (script/udf) we don't.
+      if (work instanceof MapWork && ((MapWork)work).isUseOneNullRowInputFormat())
{
+        // LLAP doesn't support file-based splits that this forces.
+        return false;
+      }
+
       if (!evaluateOperators(work)) {
         LOG.info("some operators cannot be run in llap");
         return false;


Mime
View raw message