[
https://issues.apache.org/jira/browse/DRILL-1420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14133661#comment-14133661
]
Aditya Kishore commented on DRILL-1420:
---------------------------------------
Could you be hitting DRILL-1390?
You can verify this by building {{contrib/storage-hive/core}} project from the
current master, which has the fix, and replacing the
{{drill-storage-hive-core-0.5.0-incubating-SNAPSHOT.jar}} with the newly built
one {{drill-storage-hive-core-0.6.0-incubating-SNAPSHOT.jar}}.
If this does not resolve your issue, could you please take a look at the
drillbit.log, which should have a more detailed exception trace and paste it
here.
Thanks for reporting the issue!
> Hive query fails with uncaught Exception
> ----------------------------------------
>
> Key: DRILL-1420
> URL: https://issues.apache.org/jira/browse/DRILL-1420
> Project: Apache Drill
> Issue Type: Bug
> Components: Functions - Hive
> Affects Versions: 0.5.0
> Reporter: Fabian Wilckens
> Priority: Critical
>
> Hi Drill-Team,
> everytime I try to query a hive table from drill-0.5.0 the following happens:
> 0: jdbc:drill:zk=hadoop2:5181,hadoop3:5181,ha> use hive;
> +------------+------------+
> | ok | summary |
> +------------+------------+
> | true | Default schema changed to 'hive' |
> +------------+------------+
> 1 row selected (0,024 seconds)
> 0: jdbc:drill:zk=hadoop2:5181,hadoop3:5181,ha> show tables;
> +--------------+------------+
> | TABLE_SCHEMA | TABLE_NAME |
> +--------------+------------+
> | hive.default | bondaten |
> +--------------+------------+
> 1 row selected (0,09 seconds)
> 0: jdbc:drill:zk=hadoop2:5181,hadoop3:5181,ha> describe bondaten;
> +-------------+------------+-------------+
> | COLUMN_NAME | DATA_TYPE | IS_NULLABLE |
> +-------------+------------+-------------+
> | id | VARCHAR | YES |
> | type | INTEGER | YES |
> +-------------+------------+-------------+
> 2 rows selected (0,092 seconds)
> 0: jdbc:drill:zk=hadoop2:5181,hadoop3:5181,ha> select * from bondaten limit
> 10;
> Query failed: Failure due to uncaught exception Instantiation of [simple
> type, class org.apache.drill.exec.store.hive.HiveTable$HivePartition] value
> failed: null (through reference chain:
> org.apache.drill.exec.store.hive.HivePartition["parameters"])
> [5128c99b-0dfb-46ae-913d-7baf5542df3e]
> Error: exception while executing query: Failure while trying to get next
> result batch. (state=,code=0)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)