hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vaibhav Gumashta <>
Subject Re: how to make async call to hive
Date Mon, 30 Sep 2013 06:43:28 GMT
Hi Gary,

HiveServer2 has recently added an API to support asynchronous execution:

You will have to create an instance of Thrift HiveServer2 client and while
creating the request object for ExecuteStatement, set runAsync as true.


On Sun, Sep 29, 2013 at 9:23 PM, Gary Zhao <> wrote:

> 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:
>> Thx
>> On Sun, Sep 29, 2013 at 5:15 PM, kentkong_work <>wrote:
>>> **
>>> 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

NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

View raw message