You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Chenbenhua <ch...@huawei.com> on 2012/12/13 09:27:43 UTC

答复: REST API for Hive queries?

I agree with Manish Malhotra
You should put an eye on the access speed if you want display the data on an UI application
Push the result data to RDBS may be the best choice.

发件人: Manish Malhotra [mailto:manish.hadoop.work@gmail.com]
发送时间: 2012年12月13日 16:15
收件人: user@hive.apache.org
主题: Re: REST API for Hive queries?


Ideally, push the aggregated data to some RDBMS like MySQL and have REST API or some API to enable ui to build report or query out of it.

If the use case is ad-hoc query then once that qry is submitted, and result is generated in batch mode, the REST API can be provided to get the results from HDFS directly.
For this can use WebHDFS or build own which can internally using FileSystem API.

Regards,
Manish

On Wed, Dec 12, 2012 at 11:30 PM, Nitin Pawar <ni...@gmail.com>> wrote:
Hive takes a longer time to respond to queries as the data gets larger.

Best way to handle this is you process the data on hive and store in some rdbms like mysql etc.
On top of that then you can write your own API or use pentaho like interface where they can write the queries or see predefined reports.

Alternatively, pentaho does have hive connection as well. There are other platforms such as talend, datameer etc. You can have a look at them

On Thu, Dec 13, 2012 at 1:15 AM, Leena Gupta <gu...@gmail.com>> wrote:
Hi,

We are using Hive as our data warehouse to run various queries on large amounts of data. There are some users who would like to get access to the output of these queries and display the data on an existing UI application. What is the best way to give them the output of these queries? Should we write REST APIs that the Front end can call to get the data? How can this be done?
 I'd like to know what have other people done to meet this requirement ?
Any pointers would be very helpful.
Thanks.



--
Nitin Pawar