Re: Closing long running hive query forcefully

2013-02-07 Thread Gabor Makrai
Hi, We solved this problem in the following way (this is really not a simple solution): - start hive query in a different thread - we generated an unique id for the query and used the SET key=value; command (before the long query command) to give this unique id to the MR jobs related to the query

Re: Problem with Hive JDBC server

2013-02-04 Thread Gabor Makrai
Yes, of course! I attached the code! On Mon, Feb 4, 2013 at 11:57 AM, Gabor Makrai wrote: > Yes, of course! :) I attached the code! > > > On Mon, Feb 4, 2013 at 11:53 AM, Bennie Schut wrote: > >> Since it’s small can you post the code? >> >>

Problem with Hive JDBC server

2013-02-04 Thread Gabor Makrai
Hi guys, I'm writing you because I experienced a very strange problem which probably affects all Hive distribution. I made a small "only main function" Java program where I'm only connecting to my Hive JDBC, and getting the list of the database tables (LIST TABLES) and closing the ResultSet, the S

Re: Hive Thrift Client - Getting the jobs IDs back

2011-12-15 Thread Gabor Makrai
Hi, Is there any answer for this question? Thanks, Gabor On Fri, Dec 2, 2011 at 12:39 PM, Shantian Purkad wrote: > Hi, > > We want to get the job tracker Ids back in the code for logging purpose > for the queries we fire using Hive Thrift client. > > We also want to get some stats that Hive dis