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 need connection to access the hive server. 2010/8/11 Bill Graham <billgra...@gmail.com>
> 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 embedded > mode, create a table, do some operations on it, and then drop it. > > > > On Tue, Aug 10, 2010 at 8:05 AM, lei liu <liulei...@gmail.com> wrote: > >> Can anybody answer the question? >> >> Thanks, >> >> LiuLei >> >> 2010/8/10 lei liu <liulei...@gmail.com> >> >> 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? >>> >> >> >