You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Gopal V (JIRA)" <ji...@apache.org> on 2014/03/29 06:17:14 UTC

[jira] [Created] (HIVE-6787) ORC+ACID assumes all missing buckets are in ACID structure

Gopal V created HIVE-6787:
-----------------------------

             Summary: ORC+ACID assumes all missing buckets are in ACID structure
                 Key: HIVE-6787
                 URL: https://issues.apache.org/jira/browse/HIVE-6787
             Project: Hive
          Issue Type: Bug
    Affects Versions: 0.13.0
            Reporter: Gopal V
            Assignee: Owen O'Malley
             Fix For: 0.13.0


ORC+ACID creates ACID structure splits for all missing buckets in a table

{code}
java.lang.RuntimeException: java.io.IOException: java.io.IOException: Vectorization and ACID tables are incompatible.
at org.apache.hadoop.hive.ql.io.orc.OrcInputFormat.getRecordReader(OrcInputFormat.java:996)
	at org.apache.hadoop.hive.ql.io.HiveInputFormat.getRecordReader(HiveInputFormat.java:240)
	... 15 more
{code}

The tables are normal ORC tables and are not using ACID structure at all.

{code}
@@ -539,7 +539,7 @@ public void run() {
         for(int b=0; b < context.numBuckets; ++b) {
           if (!covered[b]) {
             context.splits.add(new OrcSplit(dir, b, 0, new String[0], null,
-                               false, false, deltas));
+                               isOriginal, false, deltas));
           }
         }
{code}

seems to fix the issue. [~owen.omalley], please confirm if that is what I should be doing.



--
This message was sent by Atlassian JIRA
(v6.2#6252)