Hive, mail # user - Hive JDBC driver query statement timeout.
Kugathasan Abimaran
2013-02-06, 03:37
Bennie Schut
2013-02-06, 09:31
-
Hive JDBC driver query statement timeout.
Kugathasan Abimaran 2013-02-06, 03:37
Hi,
Is there a way to set the hive statement query timeout in hive jdbc driver?
-- Thanks, With Regards,
Abimaran
-
RE: Hive JDBC driver query statement timeout.
Bennie Schut 2013-02-06, 09:31
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
All projects made searchable here are trademarks of the Apache Software Foundation.
Service operated by Sematext