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

Switch to Threaded View
Hive, mail # user - How to connect to HiveServer 2? (Only through JDBC?)


Copy link to this message
-
Re: How to connect to HiveServer 2? (Only through JDBC?)
Stephen Sprague 2013-06-27, 15:45
awesome.  thanks for building that!
On Thu, Jun 27, 2013 at 8:06 AM, David Morel <[EMAIL PROTECTED]> wrote:

> On 26 Jun 2013, at 15:21, Christian Schneider wrote:
>
> Hi,
> is JDBC the only way to connect to HiveServer 2?
>
> I can't find any documentation how to do it with java?
>
> There is a Thrift port open, but how to use that?
>
> Best Regards,
> Christian.
>
> Generally you can generate some code using thrift (and the
> cli_service.thrift file provided with hive).
>
> An example of this for perl is now available here:
>
> https://metacpan.org/source/DMOR/Thrift-API-HiveClient2-0.004
>
> https://github.com/dmorel/Thrift-API-HiveClient2/
>
> David Morel
>