Re: Hwo to use JDBC client embedded mode

2010-08-11 Thread Bill Graham
Yes, that is what is meant by embedded mode. It's as if the hive server were running locally in the same VM as the client. On Wed, Aug 11, 2010 at 5:26 AM, lei liu wrote: > Thank you for your reply. I have looked > http://wiki.apache.org/hadoop/Hive/HiveClient#JDBC page before. what is > mean th

Re: Hwo to use JDBC client embedded mode

2010-08-11 Thread lei liu
Thank you for your reply. I have looked http://wiki.apache.org/hadoop/Hive/HiveClient#JDBC page before. what is mean the embedded mode mentioned in the page? Is that hive embedded mode? I mean that I don't need to start hive, the hive server can be embedded to my application, my application don't n

Re: Hwo to use JDBC client embedded mode

2010-08-10 Thread Dilip Joseph
I have posted an example about using Hive from Jython at http://csgrad.blogspot.com/2010/04/to-use-language-other-than-java-say.html. Since the example uses the standard Hive JDBC drivers, it may be useful to you. Dilip On Tue, Aug 10, 2010 at 8:05 AM, lei liu wrote: > Can anybody answer the qu

Re: Hwo to use JDBC client embedded mode

2010-08-10 Thread Bill Graham
The code and start script shown in this section of the wiki shows how to run hive in embedded mode. http://wiki.apache.org/hadoop/Hive/HiveClient#JDBC Compile the code after changing the JDBC URI to 'jdbc:hive://' and run the example script. This will run the code, which will start Hive in embedd

Re: Hwo to use JDBC client embedded mode

2010-08-10 Thread lei liu
Can anybody answer the question? Thanks, LiuLei 2010/8/10 lei liu > I look see below content in > http://wiki.apache.org/hadoop/Hive/HiveClientpage: For embedded mode, uri is > just "jdbc:hive://". How can I use JDBC > client embedded mode? Could anybody give me an example? >

Hwo to use JDBC client embedded mode

2010-08-09 Thread lei liu
I look see below content in http://wiki.apache.org/hadoop/Hive/HiveClientpage: For embedded mode, uri is just "jdbc:hive://". How can I use JDBC client embedded mode? Could anybody give me an example?