You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by "Zebeljan, Nebojsa" <ne...@adtech.com> on 2012/10/02 17:24:34 UTC
Hive and RESTFul with RESTEasy (jax-rs)
Hi,
I'm very new to Hive and I need to approach how to fire Hive sql queries via the RESTEasy framework and to stream back the query result as a JSON string to the client.
I wonder, if there is any approach or best practice how I can achieve this with Hive and a RESTFul service.
Thanks in advance!
Regards,
Nebo
Re: Hive and RESTFul with RESTEasy (jax-rs)
Posted by Russell Jurney <ru...@gmail.com>.
Check out HCatalog and Templeton.
https://issues.apache.org/jira/browse/HCATALOG-182
It provides a REST interface to Hive job execution, as well as Hive's
metadata. It is included in HCatalog 0.5, which is yet to be released.
You might check on the HCatalog mailing lists about this.
http://incubator.apache.org/hcatalog/
Russell Jurney http://datasyndrome.com
On Oct 2, 2012, at 6:38 PM, MiaoMiao <li...@gmail.com> wrote:
> Don't know any besides JDBC or THRIFT.
>
> On Tue, Oct 2, 2012 at 11:24 PM, Zebeljan, Nebojsa
> <ne...@adtech.com> wrote:
>> Hi,
>> I'm very new to Hive and I need to approach how to fire Hive sql queries via
>> the RESTEasy framework and to stream back the query result as a JSON string
>> to the client.
>>
>> I wonder, if there is any approach or best practice how I can achieve this
>> with Hive and a RESTFul service.
>>
>> Thanks in advance!
>>
>> Regards,
>> Nebo
Re: Hive and RESTFul with RESTEasy (jax-rs)
Posted by MiaoMiao <li...@gmail.com>.
Don't know any besides JDBC or THRIFT.
On Tue, Oct 2, 2012 at 11:24 PM, Zebeljan, Nebojsa
<ne...@adtech.com> wrote:
> Hi,
> I'm very new to Hive and I need to approach how to fire Hive sql queries via
> the RESTEasy framework and to stream back the query result as a JSON string
> to the client.
>
> I wonder, if there is any approach or best practice how I can achieve this
> with Hive and a RESTFul service.
>
> Thanks in advance!
>
> Regards,
> Nebo