• Post Reply Bookmark Topic Watch Topic
  • New Topic

Hive JDBC queries timeouts and status  RSS feed

Carl Axel
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,
I am running a Hadoop cluster with Hive and wonder if there is any way of getting the status of a query and setting a default timeout.
Since I am running the JDBC Hive calls from an outside node that has not Hadoop installed I cannot get status of a job the regular way.
I have made investigations but have not found anything yet that could solve this. (Maybe there isn't any way)

There is a method in the API called setQueryTimeout but if you run a query it will throw an exception like:

I suspect that since the calls are waiting for a ResultSet they have to be blocking and syncronous.
Is there a way to get info about status of a Hive Query?
I am using Hive 0.13.

Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!