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/01 03:32:39 UTC

[jira] [Updated] (HIVE-12771) HiveServer2 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 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 appreciation! 

  was:
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.symboltech.analysis.hadoop.bigcustomer.hive.utils.HiveTemplate.executeQuery(HiveTemplate.java:56)


> HiveServer2 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 appreciation! 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)