Re: how to make async call to hive

2013-09-29 Thread Vaibhav Gumashta
Hi Gary, HiveServer2 has recently added an API to support asynchronous execution: https://github.com/apache/hive/blob/trunk/service/if/TCLIService.thrift#L604 You will have to create an instance of Thrift HiveServer2 client and while creating the request object for ExecuteStatement, set runAsync

Re: how to make async call to hive

2013-09-29 Thread Gary Zhao
I'm using node.js which is async. On Sun, Sep 29, 2013 at 5:32 PM, Brad Ruderman wrote: > Typically it be your application that opens the process off the main > thread. Hue (Beeswax specifically) does this and you can see the code here: > https://github.com/cloudera/hue/tree/master/apps/beeswax

Re: how to make async call to hive

2013-09-29 Thread Brad Ruderman
Typically it be your application that opens the process off the main thread. Hue (Beeswax specifically) does this and you can see the code here: https://github.com/cloudera/hue/tree/master/apps/beeswax Thx On Sun, Sep 29, 2013 at 5:15 PM, kentkong_work wrote: > ** > hi all, > just wonder if th

how to make async call to hive

2013-09-29 Thread kentkong_work
hi all, just wonder if there is offical solution for async call to hive? hive query runs so long time, my application can't block until it returns. Kent