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?)
David Morel 2013-06-27, 15:06
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:



David Morel