hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carl Steinbach <c...@cloudera.com>
Subject Re: Starting HiveServer
Date Mon, 22 Feb 2010 23:59:26 GMT
The following steps work for me:

# Checkout and build Hive trunk:
% cd $HOME
% mkdir workspace
% cd workspace
% svn co http://svn.apache.org/repos/asf/hadoop/hive/trunk hive-trunk
% cd hive-trunk
% ant package -Dhadoop.version=0.20.1

# Run hive server:
% cd $HOME/workspace
% export HADOOP_HOME=<root of your 0.20.1 install>
% export PATH=$HADOOP_HOME/bin:$PATH
% export HIVE_HOME=$HOME/workspace/hive-trunk/build/dist
% export PATH=$HIVE_HOME/bin:$PATH
% hive --service hiveserver


# Run Jdbc tests:
% cd $HOME/workspace/hive-trunk
% export HADOOP_HOME=<root of your 0.20.1 install>
% export PATH=$HADOOP_HOME/bin:$PATH
% export HIVE_HOME=$HOME/workspace/hive-trunk/build/dist
% export PATH=$HIVE_HOME/bin:$PATH
% ant test -Dtestcase=TestJdbcDriver -Dstandalone=true
-Dhadoop.version=0.20.1


On Mon, Feb 22, 2010 at 3:16 PM, Something Something <
mailinglists19@gmail.com> wrote:

> Ning - Yes, I tested TestJdbcDriver without -Dstandalone=true and that
> passes.
>
> Carl - How did you get it to work?  Any suggestions for me?
>
>
> On Mon, Feb 22, 2010 at 3:01 PM, Carl Steinbach <carl@cloudera.com> wrote:
>
>>
>> Under Hive, though, it's in 6 different places:
>>>
>>
>> This is normal.
>>
>> and libfb303.jar is in 4 places:
>>>
>>
>> This is also normal.
>>
>>
>>> I have Hadoop running from outside Hive, from directory,
>>> /home/training/hadoop-0.20.1 (because I had it installed previously).  Is
>>> that okay?
>>>
>>
>> This shouldn't be a problem either.
>>
>> I was able to get TestHiveServer and TestJdbcDriver to pass in standalone
>> mode after fixing an unrelated problem with my VCS.
>>
>> Ning, what problem are you running into?
>>
>> Carl
>>
>>
>>
>

Mime
View raw message