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:abimar...@hsenidmobile.com] Sent: Wednesday, February 06, 2013 4:37 AM To: user@hive.apache.org 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