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

Elan Hershcovitz updated HIVE-7435:
-----------------------------------

          Description: 
running java version "1.8.0_05" , hive 0.13.1 I could pass connection 
successfully but could not run any sql queries (show tables , drop and so).
msg I got  :
java.sql.SQLException: For input string: "5000L"
        at org.apache.hive.jdbc.Utils.verifySuccess(Utils.java:121)
        at org.apache.hive.jdbc.Utils.verifySuccessWithInfo(Utils.java:109)
        at org.apache.hive.jdbc.HiveStatement.execute(HiveStatement.java:263)
        at 
org.apache.hive.jdbc.HiveStatement.executeQuery(HiveStatement.java:355)
I ve changed  hive-core.xml  hive.server2.long.polling.timeout from default
  <value>5000L</value> to 5000 and now im getting isssue :
java.sql.SQLException: The query did not generate a result set!
        at 
org.apache.hive.jdbc.HiveStatement.executeQuery(HiveStatement.java:356)
        at HiveDataFetcher.LoadTable(HiveDataFetcher.java:64)
        at HiveDataFetcher.runQueryAndGetResult(HiveDataFetcher.java:45)
        at HiveDataFetcher.getDataFromHive(HiveDataFetcher.java:19)

  was:
running java version "1.8.0_05" , hive 0.13 I could pass connection 
successfully but could not run any sql queries (show tables , drop and so).
msg I got  :
java.sql.SQLException: For input string: "5000L"
        at org.apache.hive.jdbc.Utils.verifySuccess(Utils.java:121)
        at org.apache.hive.jdbc.Utils.verifySuccessWithInfo(Utils.java:109)
        at org.apache.hive.jdbc.HiveStatement.execute(HiveStatement.java:263)
        at 
org.apache.hive.jdbc.HiveStatement.executeQuery(HiveStatement.java:355)
I ve changed  hive-core.xml  hive.server2.long.polling.timeout from default
  <value>5000L</value> to 5000 and now im getting isssue :
java.sql.SQLException: The query did not generate a result set!
        at 
org.apache.hive.jdbc.HiveStatement.executeQuery(HiveStatement.java:356)
        at HiveDataFetcher.LoadTable(HiveDataFetcher.java:64)
        at HiveDataFetcher.runQueryAndGetResult(HiveDataFetcher.java:45)
        at HiveDataFetcher.getDataFromHive(HiveDataFetcher.java:19)

    Affects Version/s:     (was: 0.13.0)
                       0.13.1

> java.sql.SQLException: For input string: "5000L"
> ------------------------------------------------
>
>                 Key: HIVE-7435
>                 URL: https://issues.apache.org/jira/browse/HIVE-7435
>             Project: Hive
>          Issue Type: Bug
>          Components: JDBC
>    Affects Versions: 0.13.1
>         Environment: ubuntu 12.04 , java 1.8.0_05 , hiveserver2
>            Reporter: Elan Hershcovitz
>
> running java version "1.8.0_05" , hive 0.13.1 I could pass connection 
> successfully but could not run any sql queries (show tables , drop and so).
> msg I got  :
> java.sql.SQLException: For input string: "5000L"
>       at org.apache.hive.jdbc.Utils.verifySuccess(Utils.java:121)
>       at org.apache.hive.jdbc.Utils.verifySuccessWithInfo(Utils.java:109)
>       at org.apache.hive.jdbc.HiveStatement.execute(HiveStatement.java:263)
>       at 
> org.apache.hive.jdbc.HiveStatement.executeQuery(HiveStatement.java:355)
> I ve changed  hive-core.xml  hive.server2.long.polling.timeout from default
>   <value>5000L</value> to 5000 and now im getting isssue :
> java.sql.SQLException: The query did not generate a result set!
>       at 
> org.apache.hive.jdbc.HiveStatement.executeQuery(HiveStatement.java:356)
>       at HiveDataFetcher.LoadTable(HiveDataFetcher.java:64)
>       at HiveDataFetcher.runQueryAndGetResult(HiveDataFetcher.java:45)
>       at HiveDataFetcher.getDataFromHive(HiveDataFetcher.java:19)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to