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 <[email protected]> wrote: > Can anybody answer the question? > > Thanks, > > LiuLei > > 2010/8/10 lei liu <[email protected]> > > 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? >> > >
