Hi,
The Thrift IDL file for HiveServer2 is located here:
service/if/cli_service.thrift
Here's what you need to do in order to build the HiveServer2 Perl Thrift
client using the Hive tarball from CDH4.1.x:
# Set THRIFT_HOME to point to the installation directory of Thrift 0.9.0
% export
On 4 Jan 2013, at 16:04, Jov wrote:
they are in the src/service/if and src/metastore/if
Cool. But these would be files for HiveServer, not HiveServer2 which has a
different API, right? After finally generating the libs, it turns out they
work fine on the old-style hive server, but produce this
hereļ¼
https://issues.apache.org/jira/browse/HIVE-2935
https://cwiki.apache.org/Hive/hiveserver2-thrift-api.html
HiveServer2 now is CDH extension.
I think you can use find cmd to search the CDH src dir to find the .thrift
files.
2013/1/5 David Morel dmore...@gmail.com
On 4 Jan 2013, at 16:04,
So that would probably be generated using src/service/if/cli_service.thrift
instead of the older hive_service.thrift which i suppose is for hiveserver1.
Compiled it, still getting errors that seem transport-related
13/01/04 23:02:22 ERROR server.TThreadPoolServer: Error occurred during
processing
Hi all (and happy New Year!)
Is it possible to build a perl Thrift client for HiveServer2 (from
Cloudera's 4.1.x) ?
I'm following the instructions found here:
http://stackoverflow.com/questions/5289164/perl-thrift-client-to-hive
Downloaded Hive from Cloudera's site, then i'm a bit lost: where