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 2015/09/18 01:24:00 UTC

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

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 <se...@apache.org>
Authored: Thu Sep 17 16:24:39 2015 -0700
Committer: Sergey Shelukhin <se...@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;