Have you tried using Hive's thrift server? 

On Jul 5, 2012, at 10:20 AM, Sandeep Reddy P wrote:

> We use hive Jdbc drivers to connect to RDMS. But we need our application
> which generates HQL to connect directly to Hive.
> 
> On Thu, Jul 5, 2012 at 11:12 AM, Bejoy KS <bejoy.had...@gmail.com> wrote:
> 
>> Hi Sandeep
>> 
>> You can connect to hdfs from a remote machine if that machine is reachable
>> from the cluster, and you have the hadoop jars and right hadoop
>> configuration files.
>> 
>> Similarly you can issue HQL programatically from your application using
>> hive jdbc driver.
>> 
>> ------Original Message------
>> From: Sandeep Reddy P
>> To: common-user@hadoop.apache.org
>> To: cdh-u...@cloudera.org
>> Cc: t...@cloudwick.com
>> ReplyTo: common-user@hadoop.apache.org
>> Subject: Hive/Hdfs Connector
>> Sent: Jul 5, 2012 20:32
>> 
>> Hi,
>> We have some application which generates SQL queries and connects to RDBMS
>> using connectors like JDBC for mysql. Now if we generate HQL using our
>> application is there any way to connect to Hive/Hdfs using connectors?? I
>> need help on what connectors i have to use?
>> We dont want to pull data from Hive/Hdfs to RDBMS instead we need our
>> application to connect to Hive/Hdfs.
>> 
>> --
>> Thanks,
>> sandeep
>> 
>> 
>> 
>> Regards
>> Bejoy KS
>> 
>> Sent from handheld, please excuse typos.
>> 
> 
> 
> 
> -- 
> Thanks,
> sandeep

Reply via email to