Run this first:

>cp $HIVE_HOME/conf/hive-env.sh.template $HIVE_HOME/conf/hive-env.sh
>gedit $HIVE_HOME/conf/hive-env.sh

Uncomment the lines towards the bottom that asks for HADDOP_HOME and
HIVE_CONF_DIR and set the locations.

On Thu, Nov 13, 2014 at 4:31 AM, Gopal V <gop...@apache.org> wrote:

> On 11/12/14, 1:27 PM, Nicholas Murphy wrote:
>
>  Hadoop version 2.5.1, Hive version 0.13.1, Oracle JDK (1.6, I believe),
>> Debian 7.7.
>>
>> I notice the default conf/ directory has a bunch of template files, but
>> only that.  Can someone
>> point me to a resource, or to an example of what configuration I need, to
>> actually run Hive
>> correctly out of the box on a single machine?
>>
>
> I do a build the first thing every morning with the latest of Tez/Hive &
> leave perf runs in the night, if all day it didn't give me any errors.
>
> So, I run into this problem often enough that I carry an easy
> build+install combo as part of my git repos.
>
> https://github.com/t3rmin4t0r/tez-autobuild
>
> FYI, this tracks bleeding edge of Hive+Tez (& ships a rough
> hive-site.xml.default which corresponds to one of my setups).
>
> That Makefile + the hive-site.xml.default/.frag should help - you'll have
> to edit the defaults for things like the mysql:// jdbc configs for
> metastore.
>
> Cheers,
> Gopal
>

Reply via email to