Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
Hive >> mail # user >> Hive JDBC driver query statement timeout.


+
Kugathasan Abimaran 2013-02-06, 03:37
Copy link to this message
-
RE: Hive JDBC driver query statement timeout.
Normally that would be stmt.setQueryTimout however that call isn't implemented yet. So to answer, no there isn't.

  public void setQueryTimeout(int seconds) throws SQLException {
    throw new SQLException("Method not supported");
  }

You might find a parameter called "hive.stats.jdbc.timeout" but don't be fooled, that only for the "stats" package not for the client side jdbc driver.
Strangely enough I just realized I never actually missed it. Normally when there are problems with a query either Hive or hadoop throws an exception and that will end up on the client. But I can understand how others could have more time sensitive queries/results and would like to see this option.

From: Kugathasan Abimaran [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 06, 2013 4:37 AM
To: [EMAIL PROTECTED]
Subject: Hive JDBC driver query statement timeout.

Hi,

Is there a way to set the hive statement query timeout in hive jdbc driver?

--
Thanks,
With Regards,

Abimaran
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB