hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prasad Mujumdar <pras...@cloudera.com>
Subject Re: Hive Server2 thrift java client
Date Sat, 25 May 2013 02:12:59 GMT
Hi Ghousia,

    You might want to look at the JDBC2 driver code as an example of
handling the HiveServer2 thrift API in Java.
The HiveServer2 thrift interface doesn't expose storage descriptor or
partitions. This interface is more aligned with JDBC/ODBC spec for data and
metadata operations.

thanks
Prasad



On Fri, May 24, 2013 at 3:15 AM, Ghousia <ghousia.atheeq@gmail.com> wrote:

> Hi,
>
> Has anyone explore on thrift java client for HiveServer2?
>
> I have a java client in place which connects to HiveServer2 and gets table
> details.
>
> What I am yet to figure out is how to read the actual table content. How
> to get handle on table's storage descriptor. ThriftCLIServiceClient do
> not provide any methods to work with partitions/databases. Any pointers?
>
> Appreciate your help!
>
> MAny Thanks,
> Ghousia.
>

Mime
View raw message