You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "dailidong (JIRA)" <ji...@apache.org> on 2016/01/18 07:41:39 UTC
[jira] [Resolved] (HIVE-12771) HiveServer2 HiveTemplate running
HiveStatement.execute throw java.lang.NullPointerException
[ https://issues.apache.org/jira/browse/HIVE-12771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
dailidong resolved HIVE-12771.
------------------------------
Resolution: Not A Problem
> HiveServer2 HiveTemplate running HiveStatement.execute throw java.lang.NullPointerException
> -------------------------------------------------------------------------------------------
>
> Key: HIVE-12771
> URL: https://issues.apache.org/jira/browse/HIVE-12771
> Project: Hive
> Issue Type: Bug
> Components: Clients
> Affects Versions: 1.2.1
> Environment: apache hive 1.2.1
> jdk7
> Reporter: dailidong
> Assignee: Vaibhav Gumashta
>
> when I use HiveTemplate to select hive table,then my program log throws exception, the details are as follow:
> java.sql.SQLException: java.lang.NullPointerException
> at org.apache.hive.jdbc.HiveStatement.execute(HiveStatement.java:311)
> at org.apache.hive.jdbc.HiveStatement.executeQuery(HiveStatement.java:392)
> at org.datanucleus.store.rdbms.datasource.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208)
> at org.datanucleus.store.rdbms.datasource.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208)
> at com.xxx.analysis.hadoop.xxx.hive.utils.HiveTemplate.executeQuery(HiveTemplate.java:56)
> any help will be appreciated!
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)