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 <[email protected]> wrote:

> 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 <[email protected]>
>
> 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/HiveClient page: For embedded mode,
>>>> uri is just "jdbc:hive://".   How can I use JDBC client embedded mode? 
>>>> Could
>>>> anybody give me an example?
>>>>
>>>
>>>
>>
>

Reply via email to