You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Venki Korukanti (JIRA)" <ji...@apache.org> on 2014/09/15 09:51:33 UTC
[jira] [Resolved] (DRILL-1420) Hive query fails with uncaught
Exception
[ https://issues.apache.org/jira/browse/DRILL-1420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Venki Korukanti resolved DRILL-1420.
------------------------------------
Resolution: Duplicate
> 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)