hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dailidong (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-12771) HiveServer2 HiveTemplate running HiveStatement.execute throw java.lang.NullPointerException
Date Fri, 01 Jan 2016 02:33:39 GMT

     [ https://issues.apache.org/jira/browse/HIVE-12771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

dailidong updated HIVE-12771:
-----------------------------
    Description: 
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! 

  was:
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 appreciation! 


> 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)

Mime
View raw message