Re: hiveserver2 Thrift Interface With Perl

2013-07-01 Thread Dave Cardwell
I just wanted to update the list to let future searchers know that I found a solution—David Morel of booking.com kindly shared some code with me to get this working, which he has now released as a Perl library that has been working well: https://github.com/dmorel/Thrift-API-HiveClient2 https://met

Re: hiveserver2 Thrift Interface With Perl

2013-05-15 Thread Dave Cardwell
Hi guys, I had already used the NOSASL setting to turn off that authentication, so was able to connect to the cluster fine. My issue is with how to use the new API to execute a query and get the response. -- Best wishes, Dave Cardwell. http://davecardwell.co.uk/ On 15 May 2013 00:05, Carl S

Re: hiveserver2 Thrift Interface With Perl

2013-05-14 Thread Carl Steinbach
This SASL module for Perl may be of interest: http://search.cpan.org/~gbarr/Authen-SASL-2.16/ On Tue, May 14, 2013 at 9:44 AM, Prasad Mujumdar wrote: > >HiveServer2 uses Thrift SASL transport by default. AFAIK, Thrift > doesn't support sasl transport for perl. In order to connect from a pe

Re: hiveserver2 Thrift Interface With Perl

2013-05-14 Thread Prasad Mujumdar
HiveServer2 uses Thrift SASL transport by default. AFAIK, Thrift doesn't support sasl transport for perl. In order to connect from a perl thrift client, you need to turn off the SASL in HiveServer2. This can be done by setting a property hive.server2.authentication to NOSASL in the hive-site.xml