I am interested in the response of Dilip. I didn't look at the details and stopped my proof of concept using hive with jdbc due to the thrift server not being 'concurrent safe'.
Of course, like Dilip said, the driver call can be done directly from java (or any languages having a binding to it). So it must be pretty trivial to create a java application 'forwarding' the request. But so... I am not understanding the issue with the thrift server. Its usage is meant to be much more generic and that's why the current implementation is not safe because it is much more complex to implement? (I have no experience with thrift so my questions my be trivial.) Regards Bertrand On Wed, Sep 26, 2012 at 6:46 AM, Dilip Joseph <dilip.antony.jos...@gmail.com > wrote: > You don't necessarily need to run the thrift service to use JDBC. Please > see: > http://csgrad.blogspot.in/2010/04/to-use-language-other-than-java-say.html > . > > Dilip > > On Tue, Sep 25, 2012 at 11:01 AM, Abhishek <abhishek.dod...@gmail.com>wrote: > >> Hi Zhou, >> >> Thanks for the reply, we are shutting down thrift service due to security >> issues with hive. >> >> Regards >> Abhi >> >> Sent from my iPhone >> >> On Sep 25, 2012, at 1:53 PM, Doug Houck <doug.ho...@trustedconcepts.com> >> wrote: >> >> > Also, this is all open source, right? So you could take a look at the >> CLI code to see how it does it. >> > >> > ----- Original Message ----- >> > From: "Abhishek" <abhishek.dod...@gmail.com> >> > To: user@hive.apache.org >> > Cc: user@hive.apache.org >> > Sent: Tuesday, September 25, 2012 1:44:41 PM >> > Subject: Re: How connect to hive server without using jdbc >> > >> > >> > Hi Zhou, >> > >> > >> > But Iam looking to connect to hive server without jdbc. Some other way >> through API >> > >> > >> > Regards >> > Abhi >> > >> > Sent from my iPhone >> > >> > On Sep 25, 2012, at 1:15 PM, Haijia Zhou < leons...@gmail.com > wrote: >> > >> > >> > >> > >> > https://cwiki.apache.org/Hive/hiveclient.html#HiveClient-JDBC >> > >> > >> > On Tue, Sep 25, 2012 at 1:13 PM, Abhishek < abhishek.dod...@gmail.com> >> > wrote: >> > >> > >> > Hi all, >> > >> > Is there any way to connect to hive server through API?? >> > >> > Regards >> > Abhi >> > >> > >> > >> > Sent from my iPhone >> > >> > > > > -- > _________________________________________ > Dilip Antony Joseph > http://csgrad.blogspot.com > http://www.marydilip.info > -- Bertrand Dechoux