Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive >> mail # user >> Hive Server2 thrift java client

Copy link to this message
Re: Hive Server2 thrift java client
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.


On Fri, May 24, 2013 at 3:15 AM, Ghousia <[EMAIL PROTECTED]> 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.