You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Elan Hershcovitz (JIRA)" <ji...@apache.org> on 2014/07/17 09:23:05 UTC

[jira] [Created] (HIVE-7435) java.sql.SQLException: For input string: "5000L"

Elan Hershcovitz created HIVE-7435:
--------------------------------------

             Summary: 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.0
         Environment: ubuntu 12.04 , java 1.8.0_05 , hiveserver2
            Reporter: Elan Hershcovitz


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)



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